1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/highlight-code-LqFEKODY.js","assets/index-jYZrqlkT.js","assets/index-BeR0S8vk.css"])))=>i.map(i=>d[i]); 2import{N3 as e,Qo as t,Zd as n,sf as r}from"./index-jYZrqlkT.js";import{n as i}from"./toc-Ce-iEXyy.js";import{n as a,r as o}from"./YoutubePlayerDialog-CdMqcXPq.js";import{n as s}from"./prose-typography-CMuFD-y-.js";import{n as c,r as l}from"./link-styles-CiXJGL7S.js";var u={1:`scroll-mt-24 font-aeonik-pro text-foreground/95 text-balance mb-4 mt-8 text-[20px] font-normal leading-[1.3] first:mt-0 @[640px]:text-[22px]`,2:`scroll-mt-24 font-aeonik-pro text-foreground/95 text-balance mb-3 mt-7 text-[17px] font-semibold leading-snug @[640px]:text-[18px]`,3:`scroll-mt-24 font-aeonik-pro text-foreground/95 text-balance mb-2 mt-6 text-[16px] font-semibold @[640px]:text-[17px]`,4:`scroll-mt-24 font-aeonik-pro text-foreground/95 text-balance mb-2 mt-5 text-[15px] font-semibold`},d=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="size-full -rotate-45" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>`;function f(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}function p(e,t){return t===void 0||t===!1?``:t===!0?` ${e}`:` ${e}="${f(String(t))}"`}function m(e){return!!(e&&typeof e==`object`&&!Array.isArray(e)&&`$$mdtype`in e&&e.$$mdtype===`Tag`)}function h(e){return e==null||typeof e==`boolean`?``:typeof e==`string`||typeof e==`number`?String(e):Array.isArray(e)?e.map(h).join(``):m(e)?e.children.map(h).join(``):``}function g(e){return e.map(H).join(``)}function _(e){let t=r(e)??e,i=t.startsWith(`http`)||t.startsWith(`//`)||t.startsWith(`mailto:`)||t.startsWith(`tel:`);return t.startsWith(`/`)&&!t.startsWith(`/docs`)&&!t.startsWith(`/blog`)&&!t.startsWith(`/changelog`)&&!t.startsWith(`/home`)&&!t.startsWith(`/pricing`)&&!t.startsWith(`/company`)&&!t.startsWith(`/community`)&&!t.startsWith(`/startups`)&&!t.startsWith(`/education`)&&!t.startsWith(`/partners`)&&!t.startsWith(`/integrations`)&&!t.startsWith(`/threads`)&&!t.startsWith(`/terms`)&&!t.startsWith(`/privacy`)&&!t.startsWith(`/cookies`)&&!t.startsWith(`/assets`)?{href:`${n}${t}`,external:!0}:{href:t,external:i}}function v(e,t,n=l){if(!e)return`<span>${t}</span>`;let r=_(e),i=r.external&&!e.startsWith(`#`)?` target="_blank" rel="noopener noreferrer"`:``;return`<a href="${f(r.href)}" class="${n}"${i}>${t}</a>`}function y(e){return u[Math.min(e,4)]??u[4]}function b(e){let t=Number(e.attributes.level??1),{title:n,id:r}=i(h(e),e.attributes.id),a=`h${Math.min(t+1,6)}`,o=t===1?`size-[18px]`:t===2?`size-4`:`size-3.5`;return`<${a} id="${f(r)}" class="${y(t)} group"><span class="inline-flex max-w-full items-center gap-2"><a href="#${f(r)}" class="${c}">${f(n)}</a><button type="button" class="${o} inline-flex shrink-0 cursor-pointer items-center justify-center rounded-sm text-muted-foreground opacity-0 transition-opacity duration-150 hover:text-foreground focus:outline-none focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background group-hover:opacity-100 group-focus-within:opacity-100" data-blog-heading-copy="${f(r)}" aria-label="Copy link">${d}</button></span></${a}>`}var x=null,S=`not-prose my-4 w-full overflow-hidden rounded-xl border border-border bg-card/50`,C=`flex items-center justify-between gap-2 border-b border-border px-3 py-1.5`,w=`text-[12px] font-medium text-muted-foreground`,T=`h-7 shrink-0 rounded-md px-2 text-[12px] text-muted-foreground hover:text-foreground`;function E(e){let t=String(e.attributes.content??h(e));return{language:String(e.attributes.language??`plaintext`),content:t,encoded:encodeURIComponent(t)}}function D({content:e,language:t}){let n=x?.(e,t)??null;return`<pre class="blog-code overflow-x-auto p-4 font-mono text-[13px] leading-6 text-foreground
2/90"><code${n?` class="language-${f(n.language)}"`:``}>${n?n.html:f(e)}</code></pre>`}function O(e){return`<button type="button" class="${T}" data-blog-copy="${e}">Copy</button>`}function k(e){let n=E(e);return`<div class="${S}"><div class="${C}"><span class="${w}">${f(t(n.language))}</span>${O(n.encoded)}</div>${D(n)}</div>`}function A(e){let n=[];for(let t of e.children){if(!m(t)||t.name!==`Fence`)continue;let e=E(t);n.some(t=>t.language===e.language)||n.push(e)}if(n.length===0)return g(e.children);if(n.length===1)return k(e.children.find(e=>m(e)&&e.name===`Fence`));let r=n.map(e=>({id:e.language,label:t(e.language)})),i=n.map((e,t)=>`<div data-blog-multicode-panel="${f(e.language)}" data-blog-code="${e.encoded}"${p(`hidden`,t>0)}>${D(e)}</div>`).join(``);return`<div class="${S}" data-blog-multicode><div class="${C}"><span class="${w}" data-blog-multicode-select="${f(JSON.stringify(r))}">${f(r[0].label)}</span>${O(n[0].encoded)}</div>${i}</div>`}var j=`shrink-0 cursor-pointer border-b-2 px-3 py-2 transition-colors ${s}`,M=`border-white text-foreground`,N=`border-transparent text-muted-foreground hover:text-foreground`,P=0;function F(e){let t=e.children.filter(e=>m(e)&&e.name===`TabsItem`);if(t.length===0)return g(e.children);if(t.length===1)return g(t[0].children);let n=`blog-tabs-${++P}`;return`<div class="my-6 overflow-hidden rounded-xl border border-border bg-background" data-blog-tabs><div role="tablist" class="not-prose flex gap-1 overflow-x-auto border-b border-border px-4 pt-3">${t.map((e,t)=>{let r=String(e.attributes.title??e.attributes.id??``);return`<button type="button" role="tab" id="${n}-tab-${t}" aria-controls="${n}-panel-${t}" aria-selected="${t===0}" tabindex="${t===0?0:-1}" class="${j} ${t===0?M:N}" data-blog-tab="${t}">${f(r)}</button>`}).join(``)}</div><div class="px-4 py-4">${t.map((e,t)=>`<div role="tabpanel" id="${n}-panel-${t}" aria-labelledby="${n}-tab-${t}" tabindex="0" data-blog-tab-panel="${t}"${p(`hidden`,t>0)}>${g(e.children)}</div>`).join(``)}</div></div>`}function I(e){let t=String(e.attributes.src??``);if(!t)return``;let n=String(e.attributes.alt??``),r=e.attributes.title===`contain`;return`<button type="button" class="not-prose my-6 block w-full cursor-pointer overflow-hidden rounded-xl border border-border bg-muted/20" data-blog-image-src="${f(t)}" data-blog-image-alt="${f(n)}" aria-label="${f(n||`Expand image`)}"><img src="${f(t)}" alt="${f(n)}" loading="lazy" class="h-full w-full rounded-lg object-contain${r?` p-3 @[480px]:p-4`:``}" data-blog-image /></button>`}function L(e){return`<aside class="not-prose my-6 rounded-xl border border-border bg-card/50 px-4 py-3"><p class="text-[13px] font-medium text-foreground">${f(String(e.attributes.title??``))}</p><div class="mt-2 text-[15px] leading-relaxed text-muted-foreground">${g(e.children)}</div></aside>`}function R(e){let t=String(e.attributes.href??e.attributes.url??``),n=String(e.attributes.cta??e.attributes.title??`Get started`);if(!t)return``;let r=_(t),i=r.external?` target="_blank" rel="noopener noreferrer"`:``;return`<div class="not-prose my-6"><a href="${f(r.href)}" class="inline-flex items-center rounded-lg bg-[var(--brand-cta)] px-4 py-2 text-[13px] font-medium text-white hover:opacity-90"${i}>${f(n)}</a></div>`}function z(e){let t=String(e.attributes.href??``);return t?`<div class="changelog-resource-link not-prose">${v(t,`<span class="min-w-0">${g(e.children)}</span>`,`relative block w-full rounded-none px-4 py-4 pe-10 text-start text-[13px] font-medium leading-5 text-foreground transition-colors duration-150 hover:bg-muted/40`)}</div>`:``}function B(e){let t=String(e.attributes.id??``).trim(),n=String(e.attributes.src??``).trim(),r=String(e.attributes.title??`YouTube video`),i=n||(t?`https://www.youtube-nocookie.com/embed/${t}`:``);if(!i)return``;let a=String(e.attributes.thumbnail??``).trim()||(t?`https://i.ytimg.com/vi/${t}/hqdefault.jpg`:``),o=`<span class="pointer-events-none absolute start-1/2 top-1/2 flex size-11 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full border border-white/20 bg-white/10 shadow-sm backdrop-blur-md transition-transform duration-150 group-hover:scale-105 group-active:scale-95" aria-hidden="true"><svg viewBox="0 0 24 24" class="ms-0.5 size-4 fill-white/70 transition-colors duration-150 group-hover:fill-white"><path d="M8 5.14v13.72a1 1 0 0 0 1.52.85l11.14-6.86a1 1 0 0 0 0-1.7L9.52 4.29A1 1 0 0 0 8 5.14Z" /></svg></span>`;return`<div class="not-prose my-8"><button type="button" class="group relative block w-full cursor-pointer overflow-hidden rounded-xl border border-border bg-muted/25 text-start" data-blog-youtube="${f(i)}" data-blog-youtube-title="${f(r)}" aria-label="${f(`Play ${r}`)}">${a?`<span class="relative aspect-video block w-full"><img src="${f(a)}" alt="" loading="lazy" class="size-full object-cover" />${o}</span>`:`<span class="relative aspect-video block w-full bg-muted">${o}</span>`}</button></div>`}function V(e){let t=e.name,n=g(e.children);switch(t){case`Heading`:return b(e);case`Link`:return v(e.attributes.href,n);case`Image`:return I(e);case`Fence`:return k(e);case`MultiCode`:return A(e);case`Info`:return L(e);case`CallToAction`:return R(e);case`ArrowLink`:return z(e);case`Youtube`:return B(e);
2case`Video`:{let t=String(e.attributes.src??``);return t?`<div class="not-prose my-6 overflow-hidden rounded-xl border border-border"><video src="${f(t)}" controls class="w-full"${p(`title`,e.attributes.title)}></video></div>`:``}case`Blockquote`:return`<blockquote class="my-5 border-s-2 border-[var(--brand-cta)] ps-4 italic">${n}</blockquote>`;case`OnlyLight`:return`<div class="dark:hidden">${n}</div>`;case`OnlyDark`:return`<div class="hidden dark:block">${n}</div>`;case`Tabs`:return F(e);case`TabsItem`:case`Accordion`:case`AccordionItem`:case`Cards`:case`CardsItem`:case`Section`:return n;case`MarkdocTableTag`:return n;case`MarkdocTableRoot`:return`<div class="my-6 overflow-x-auto"><table class="w-full caption-bottom text-sm">${n}</table></div>`;case`MarkdocTableHeader`:return`<thead>${n}</thead>`;case`MarkdocTableBody`:return`<tbody>${n}</tbody>`;case`MarkdocTableRow`:return`<tr class="border-b border-border">${n}</tr>`;case`MarkdocTableHead`:return`<th class="px-4 py-3 text-start text-[12px] font-semibold uppercase tracking-wider text-muted-foreground">${n}</th>`;case`MarkdocTableCell`:return`<td class="px-4 py-3 text-[14px] leading-6 text-muted-foreground">${n}</td>`;case`p`:return`<p>${n}</p>`;case`article`:case`div`:return n;default:return/^[a-z][a-z0-9-]*$/.test(t)?`<${t}>${n}</${t}>`:n}}function H(e){return e==null||typeof e==`boolean`?``:typeof e==`number`?f(String(e)):typeof e==`string`?f(e):Array.isArray(e)?g(e):m(e)?V(e):``}function U(e,t){let n=x;x=t?.highlight??null,P=0;try{let t=o.parse(e);return H(o.transform(t,a))}finally{x=n}}async function W(t){let{highlightCode:n}=await e(async()=>{let{highlightCode:e}=await import(`./highlight-code-LqFEKODY.js`);return{highlightCode:e}},__vite__mapDeps([0,1,2])),r={highlight:n};return{contentHtml:U(t.content,r),faqs:(t.faqs??[]).map(e=>({question:e.question,html:U(e.answer,r)}))}}export{W as n,U as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.