1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="32a088d0-a7f2-4f28-8f0f-bc355ce1b2c6",e._sentryDebugIdIdentifier="sentry-dbid-32a088d0-a7f2-4f28-8f0f-bc355ce1b2c6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7652],{9632:(e,t,r)=>{r.d(t,{A:()=>o});let o=(e,t={month:"short",day:"numeric",year:"numeric",keepCommas:!1})=>{try{let r=new Date(e);if(isNaN(r.getTime()))return e;return r.toLocaleDateString("en-US",t).replace(",",t.keepCommas?",":"")}catch(t){return e}}},28782:(e,t,r)=>{r.d(t,{A:()=>n});var o=r(66352),s=r(18696);r(6103);var a=r(23551);function n({children:e,zoomImg:t,zoomMargin:r=40,className:l}){return(0,o.jsx)("span",{className:(0,a.cn)("flex justify-center",l),children:(0,o.jsx)(s.i,{zoomImg:t,zoomMargin:r,wrapElement:"span",children:e})})}},35318:(e,t,r)=>{r.d(t,{A:()=>n});var o=r(66352),s=r(23551),a=r(929);let n=({className:e,...t})=>{let r=(0,a.usePathname)(),n=r?.startsWith("/docs");return(0,o.jsx)("div",{...t,className:(0,s.cn)(["prose","prose-headings:font-medium prose-headings:tracking-[0.02em] prose-headings:text-black dark:prose-headings:text-white prose-h1:text-24px prose-h1:mt-12 prose-h1:mb-1 prose-h2:text-24px prose-h2:mt-10 prose-h2:mb-4 prose-h3:text-22px prose-h3:mt-8 prose-h3:mb-3 prose-h4:text-20px prose-h4:mt-6","prose-p:text-smoke dark:prose-p:text-white/80 prose-p:text-18px prose-p:leading-[1.65] prose-p:tracking-[0.02em] prose-p:mb-b","dark:prose-ul:text-white/80 dark:prose-ol:text-white/80","prose-strong:text-black dark:prose-strong:text-white prose-strong:font-medium","prose-ul:pl-5 prose-ul:my-6 prose-li:my-2 prose-li:text-18px prose-li:leading-[1.65] prose-li:tracking-[0.02em] prose-li:pl-1 prose-ol:my-6 prose-ol:pl-6","[&_blockquote_p]:not-italic",!n&&"prose-blockquote:pl-0 prose-blockquote:my-12 prose-blockquote:border-l-0 prose-blockquote:after:content-none prose-blockquote:before:content-none prose-blockquote:text-24px prose-blockquote:font-medium [&_blockquote_p]:text-24px [&_blockquote_p]:leading-[1.4]","prose-code:text-mono-12px prose-code:font-normal prose-code:before:content-none prose-code:after:content-none prose-code:bg-cinder prose-code:px-1 prose-code:pt-0.5 prose-code:pb-1 prose-code:rounded prose-code:font-mono prose-code:tracking-[-0.02em] prose-code:text-white prose-code:wrap-anywhere prose-pre:bg-cinder prose-pre:text-white prose-pre:p-4 prose-pre:overflow-x-auto","prose-a:text-smoke dark:prose-a:text-white prose-a:font-normal prose-a:hover:text-violet dark:prose-a:hover:text-purple prose-a:underline prose-a:underline-offset-2 prose-a:transition-colors prose-a:duration-300","prose-table:my-6 prose-table:border dark:prose-table:border-lightGrey prose-table:rounded-lg prose-thead:bg-linen prose-th:px-4 prose-th:py-3 prose-th:text-left prose-th:font-medium prose-th:text-gray-900 prose-th:border-b dark:prose-th:border-lightGrey prose-td:px-4 prose-td:py-3 prose-td:text-sm prose-td:text-smoke prose-td:border-b dark:prose-td:border-lightGrey",e])})}},53928:(e,t,r)=>{r.d(t,{A:()=>l});var o=r(66352),s=r(78681),a=r(92326),n=r(95132);let l=({text:e})=>{let[t,r]=(0,n.useState)(!1);return(0,o.jsx)("button",{className:"absolute right-2 bottom-2 flex size-8 cursor-pointer items-center justify-center rounded text-white/60 transition-colors duration-300 hover:text-white [&_svg]:size-4",type:"button",disabled:t,onClick:()=>{navigator.clipboard.writeText(e),r(!0),setTimeout(()=>{r(!1)},1e3)},title:"Copy code",children:t?(0,o.jsx)(s.J,{}):(0,o.jsx)(a.G,{})})}},60415:(e,t,r)=>{r.d(t,{A:()=>i,d:()=>l});var o=r(66352),s=r(95132),a=r(20231),n=r(49370);r(25825);let l=[{match:/\/\*[\s\S]*?\*\//g,type:"comment"},{match:/\/\/[^\n]*/g,type:"comment"},{match:/#[^\n]*/g,type:"comment"},{match:/<<-\s*(\w+)[\s\S]*?^\s*\1/gm,type:"string"},{match:/\b[A-Za-z_]\w*(?=\s*=)/g,type:"attr-name"},{match:/"(?:\\.|[^"\\])*"/g,type:"string",sub:[{match:/\$\{[^}]+\}/g,type:"interpolation",sub:[{match:/^\$\{|\}$/g,type:"punct"},{match:/\b\d+(\.\d+)?\b/g,type:"number"},{match:/\b(?:true|false|null)\b/g,type:"literal"},{match:/\b[A-Za-z_]\w*\b/g,type:"identifier"},{match:/\./g,type:"punct"}]}]},{match:/\b0x[0-9a-fA-F]+\b/g,type:"number"},{match:/\b\d+(\.\d+)?(?:[kKmMgG]b?)?\b/g,type:"number"},{match:/\b(?:true|false|null)\b/g,type:"literal"},{match:/\b(?:for|in|if)\b/g,type:"keyword"},{match:/\b(?:provider|metadata|spec|count|env|variable)\b/g,type:"keyword"},{match:/\b[A-Za-z_]\w*(?=\s*\()/g,type:"func"},{match:/[{}\[\]\(\)=,\.]/g,type:"punct"},{match:/\b[A-Za-z_]\w*\b/g,type:"identifier"}];(0,a.rI)("hcl",{default:l});let i=({children:e})=>{let t=(0,s.useRef)(null);return(0,s.useEffect)(()=>{t.current&&(0,a.li)(t.current,(0,n.o)(t.current.textContent))},[e]),(0,o.jsx)("code",{ref:t,className:"block w-full overflow-auto p-5! font-mono! text-sm! whitespace-pre",style:{whiteSpace:"pre-wrap"},children:e})}},61520:(e,t,r)=>{r.d(t,{A:()=>i});var o=r(66352),s=r(23551),a=r(25320),n=r.n(a),l=r(95132);let i=({image:e,alt:t,isPriority:r=!1,isFill:a=!1,className:i,onLoadComplete:c,shouldRemoveFadeIn:p=!1,qual
1ity:m=90,sizes:d,width:u,height:h,...x})=>{let g=(0,l.useRef)(null),f=e?.responsiveImage;if(!f)return null;let b=g.current?.complete&&g.current.naturalWidth>0,y=p?"":(0,s.cn)("transition-opacity duration-300",b?"opacity-100":"opacity-0"),w=f.alt||f.title||t||"",v=d||f.sizes||"100vw",k={ref:g,src:f.src??"",alt:w,className:(0,s.cn)(y,i),onLoad:e=>{e.currentTarget.src.includes("data:image/gif;base64")||(!p&&g.current&&g.current.classList.replace("opacity-0","opacity-100"),c?.())},quality:m,...x};return a?(0,o.jsx)(n(),{priority:r,...k,alt:w,fill:!0,sizes:v}):(0,o.jsx)(n(),{priority:r,...k,alt:w,width:u??f.width??0,height:h??f.height??0,sizes:v})}},85869:(e,t,r)=>{r.d(t,{A:()=>v});var o=r(66352),s=r(61520);function a({title:e,provider:t,providerUid:r,className:s}){return"youtube"===t?(0,o.jsx)("iframe",{className:s,title:e,src:`https://www.youtube.com/embed/${r}?modestbranding=1;rel=0;showinfo=0`,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):(console.warn("Unknown video provider:",t),null)}var n=r(53928),l=r(60415),i=r(95132),c=r(20231),p=r(49370);(0,c.rI)("hcl",{default:l.d});let m=({code:e,language:t=(0,p.o)(e),className:r=""})=>{let[s,a]=i.useState("");return i.useEffect(()=>{(async()=>{try{let r=await (0,c.Sw)(e.trim(),t,!1);a(r)}catch(t){console.error("Failed to highlight code:",t),a(e.trim())}})()},[e,t]),(0,o.jsx)("div",{className:`relative my-8 ${r}`,children:(0,o.jsx)("div",{className:"relative overflow-hidden rounded-lg bg-cinder",children:(0,o.jsx)("div",{className:"overflow-x-auto p-4",children:(0,o.jsxs)("pre",{className:"font-mono text-sm leading-relaxed text-white",children:[(0,o.jsx)("code",{dangerouslySetInnerHTML:{__html:s},className:"block"}),(0,o.jsx)(n.A,{text:e})]})})})})};var d=r(35318),u=r(23551),h=r(81297),x=r(26898);function g(e){return"pre"===e.type&&e.props.children?.type==="code"}var f=r(7191),b=r.n(f),y=r(28782);let w=({image:e,className:t=""})=>(0,o.jsx)("div",{className:t,children:(0,o.jsx)(s.A,{className:"mx-auto",image:{responsiveImage:{srcSet:e?.srcSet,webpSrcSet:e?.webpSrcSet,sizes:e?.sizes,src:e?.src,width:e?.width,height:e?.height,aspectRatio:e?.aspectRatio,alt:e?.alt,title:e?.title||null}}})}),v=({content:e,className:t="",proseClassName:r="",demoteH1Headings:s=!1})=>{if(!e||!Array.isArray(e))return null;let n=function(e){let t=[];for(let r of e)if("text"===r.type){let e=(0,h.Ay)(r.text),o=Array.isArray(e)?e:[e],s=o.findIndex(e=>g(e));for(;-1!==s;){let e=o[s].props.children;s>0&&t.push({type:"text",text:(0,x.F0)(o.slice(0,s))}),t.push({type:"code",language:e.props.className,code:e.props.children}),s=(o=o.slice(s+1)).findIndex(e=>g(e))}o.length&&t.push({type:"text",text:(0,x.F0)(o)})}else t.push(r);return t}(e);return(0,o.jsx)("div",{className:`coder-content w-full md-large:ml-auto ${t}`,children:n.map((e,t)=>{switch(e.type){case"text":return(0,o.jsx)(d.A,{className:(0,u.cn)("md-large:max-w-[680px] mx-auto !w-full max-w-none","dark:[&_a:hover_strong]:text-purple [&_a:hover_strong]:text-violet [&_a:hover_strong]:transition-colors [&_a:hover_strong]:duration-300",r),children:(0,h.Ay)(e.text,{replace(e){if(e instanceof h.Hg){if(s&&"h1"===e.name){let t=(0,h.$5)(e.attribs);return(0,o.jsx)("h2",{...t,className:(0,u.cn)("!text-24px !mt-12 !mb-1",t.className),children:(0,h.zd)(e.children)})}if("img"===e.name&&e.attribs.src){let{src:t,alt:r}=e.attribs,s=(0,h.$5)(e.attribs),a=(0,o.jsx)("img",{loading:"lazy",...s,alt:r||""});return(e=>{let t=e.parent;for(;t;){if(t instanceof h.Hg&&"a"===t.name)return!0;t=t.parent}return!1})(e)?(0,o.jsx)("span",{className:"flex justify-center transition-opacity hover:opacity-80",children:a}):(0,o.jsx)(y.A,{zoomImg:{src:t,alt:r||""},children:a})}}}})},t);case"asset":return(0,o.jsxs)("figure",{className:"mx-auto my-8 w-full max-w-[680px]",children:[e.link&&!e.externalLink?(0,o.jsx)(b(),{href:e.link,className:"block",children:(0,o.jsx)(w,{image:e.media.responsiveImage,className:"overflow-hidden transition-opacity hover:opacity-80"})}):e.externalLink?(0,o.jsx)("a",{href:e.externalLink,target:"_blank",rel:"noopener noreferrer",className:"block",children:(0,o.jsx)(w,{image:e.media.responsiveImage,className:"overflow-hidden transition-opacity hover:opacity-80"})}):(0,o.jsx)(y.A,{zoomImg:{src:e.media.responsiveImage?.src||void 0,alt:e.media.responsiveImage?.alt||""},children:(0,o.jsx)(w,{image:e.media.responsiveImage,className:"mx-auto overflow-hidden"})}),e.media.responsiveImage.alt&&(0,o.jsx)("figcaption",{className:"mt-4 text-center text-14px not-dark:text-smoke",children:e.media.responsiveImage.alt})]},t);case"html5_video":return(0,o.jsx)("video",{controls:!0,className:"mx-auto my-8 w-full max-w-[680px]",children:(0,o.jsx)("source",{src:e.video.url,type:"video/mp4"})},t);case"external_video":return(0,o.jsx)(a,{...e.video,className:"mx-auto my-8 aspect-16/9 w-full max-w-[680px]"},t);case"code":return(0,o.jsx)(m,{language:e.language,code:e.code,className:"mx-auto w-full max-w-[680px]"},t);case"frame":return(0,o.jsx)("iframe",{title:e.title,src:e.url,className:"mx-auto my-8 w-full max-w-[680px] border-0",style:{minHeight:e.height},loading:"lazy"},t);case"gif":return(0,o.jsxs)("figure",{className:"mx-auto my-8 w-full max-w-[680px]",children:[(0,o.jsx)(y.A,{zoomImg:{src:e.image.url,alt:e.image.t
1itle||""},children:(0,o.jsx)("img",{src:e.image.url,alt:e.image.title||"",loading:"lazy",className:"h-auto w-full rounded-lg"})}),e.image.title&&(0,o.jsx)("figcaption",{className:"mt-4 text-center text-14px not-dark:text-smoke",children:e.image.title})]},t);default:return console.warn("Unknown content block type:",e.type),null}})})}}}]);
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.