PageSourceSearch

https://clonewebsite.app/_next/static/chunks/77929-a85e7b6d2ec5f983.js

js clonewebsite.app collected 2026-10-02 00:43:48 UTC 22,855 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[77929],{3227:(e,t,r)=>{r.d(t,{UC:()=>O,ZL:()=>H,bL:()=>L,l9:()=>I});var n,o=r(58232),l=r(180),a=r(24257),i=r(28898),s=r(12579),c=r(91312),u=r(14757),d=r(58948),f=r(64474),h=r(98721),p=r(83284),m="HoverCard",[x,g]=(0,a.A)(m,[c.Bk]),v=(0,c.Bk)(),[b,w]=x(m),y=e=>{let{__scopeHoverCard:t,children:r,open:n,defaultOpen:l,onOpenChange:a,openDelay:s=700,closeDelay:u=300}=e,d=v(t),f=o.useRef(0),h=o.useRef(0),m=o.useRef(!1),x=o.useRef(!1),[g=!1,w]=(0,i.i)({prop:n,defaultProp:l,onChange:a}),y=o.useCallback(()=>{clearTimeout(h.current),f.current=window.setTimeout(()=>w(!0),s)},[s,w]),j=o.useCallback(()=>{clearTimeout(f.current),m.current||x.current||(h.current=window.setTimeout(()=>w(!1),u))},[u,w]),C=o.useCallback(()=>w(!1),[w]);return o.useEffect(()=>()=>{clearTimeout(f.current),clearTimeout(h.current)},[]),(0,p.jsx)(b,{scope:t,open:g,onOpenChange:w,onOpen:y,onClose:j,onDismiss:C,hasSelectionRef:m,isPointerDownOnContentRef:x,children:(0,p.jsx)(c.bL,{...d,children:r})})};y.displayName=m;var j="HoverCardTrigger",C=o.forwardRef((e,t)=>{let{__scopeHoverCard:r,...n}=e,o=w(j,r),a=v(r);return(0,p.jsx)(c.Mz,{asChild:!0,...a,children:(0,p.jsx)(f.sG.a,{"data-state":o.open?"open":"closed",...n,ref:t,onPointerEnter:(0,l.m)(e.onPointerEnter,T(o.onOpen)),onPointerLeave:(0,l.m)(e.onPointerLeave,T(o.onClose)),onFocus:(0,l.m)(e.onFocus,o.onOpen),onBlur:(0,l.m)(e.onBlur,o.onClose),onTouchStart:(0,l.m)(e.onTouchStart,e=>e.preventDefault())})})});C.displayName=j;var N="HoverCardPortal",[P,k]=x(N,{forceMount:void 0}),R=e=>{let{__scopeHoverCard:t,forceMount:r,children:n,container:o}=e,l=w(N,t);return(0,p.jsx)(P,{scope:t,forceMount:r,children:(0,p.jsx)(d.C,{present:r||l.open,children:(0,p.jsx)(u.Z,{asChild:!0,container:o,children:n})})})};R.displayName=N;var E="HoverCardContent",M=o.forwardRef((e,t)=>{let r=k(E,e.__scopeHoverCard),{forceMount:n=r.forceMount,...o}=e,a=w(E,e.__scopeHoverCard);return(0,p.jsx)(d.C,{present:n||a.open,children:(0,p.jsx)(S,{"data-state":a.open?"open":"closed",...o,onPointerEnter:(0,l.m)(e.onPointerEnter,T(a.onOpen)),onPointerLeave:(0,l.m)(e.onPointerLeave,T(a.onClose)),ref:t})})});M.displayName=E;var S=o.forwardRef((e,t)=>{let{__scopeHoverCard:r,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:u,onInteractOutside:d,...f}=e,m=w(E,r),x=v(r),g=o.useRef(null),b=(0,s.s)(t,g),[y,j]=o.useState(!1);return o.useEffect(()=>{if(y){let e=document.body;return n=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=n,e.style.webkitUserSelect=n}}},[y]),o.useEffect(()=>{if(g.current){let e=()=>{j(!1),m.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;
1(null==(e=document.getSelection())?void 0:e.toString())!==""&&(m.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!1}}},[m.isPointerDownOnContentRef,m.hasSelectionRef]),o.useEffect(()=>{g.current&&(function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;r.nextNode();)t.push(r.currentNode);return t})(g.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,p.jsx)(h.qW,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:d,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:(0,l.m)(u,e=>{e.preventDefault()}),onDismiss:m.onDismiss,children:(0,p.jsx)(c.UC,{...x,...f,onPointerDown:(0,l.m)(f.onPointerDown,e=>{e.currentTarget.contains(e.target)&&j(!0),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!0}),ref:b,style:{...f.style,userSelect:y?"text":void 0,WebkitUserSelect:y?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})});function T(e){return t=>"touch"===t.pointerType?void 0:e()}o.forwardRef((e,t)=>{let{__scopeHoverCard:r,...n}=e,o=v(r);return(0,p.jsx)(c.i3,{...o,...n,ref:t})}).displayName="HoverCardArrow";var L=y,I=C,H=R,O=M},13458:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(15968).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},14600:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(15968).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},24313:(e,t,r)=>{r.d(t,{A:()=>c});let n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,l=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r=getComputedStyle(e,null);return o(r.overflowY,t)||o(r.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},a=(e,t,r,n,o,l,a,i)=>l<e&&a>t||l>e&&a<t?0:l<=e&&i<=r||a>=t&&i>=r?l-e-n:a>t&&i<r||l<e&&i>r?a-t+o:0,i=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var r,o,s,c;if("undefined"==typeof document)return[];let{scrollMode:u,block:d,inline:f,boundary:h,skipOverflowHiddenElements:p}=t,m="function"==typeof h?h:e=>e!==h;if(!n(e))throw TypeError("Invalid target");let x=document.scrollingElement||document.documentElement,g=[],v=e;for(;n(v)&&m(v);){if((v=i(v))===x){g.push(v);break}null!=v&&v===document.body&&l(v)&&!l(document.documentElement)||null!=v&&l(v,p)&&g.push(v)}let b=null!=(o=null==(r=window.visualViewport)?void 0:r.width)?o:innerWidth,w=null!=(c=null==(s=window.visualViewport)?void 0:s.height)?c:innerHeight,{scrollX:y,scrollY:j}=window,{height:C,width:N,top:P,right:k,bottom:R,left:E}=e.getBoundingClientRect(),{top:M,right:S,bottom:T,left:L}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),I="start"===d||"nearest"===d?P-M:"end"===d?R+T:P+C/2-M+T,H="center"===f?E+N/2-L+S:"end"===f?k+S:E-L,O=[];for(let e=0;e<g.length;e++){let t=g[e],{height:r,width:n,top:o,right:i,bottom:s,left:c}=t.getBoundingClientRect();if("if-needed"===u&&P>=0&&E>=0&&R<=w&&k<=b&&(t===x&&!l(t)||P>=o&&R<=s&&E>=c&&k<=i))break;let h=getComputedStyle(t),p=parseInt(h.borderLeftWidth,10),m=parseInt(h.borderTopWidth,10),v=parseInt(h.borderRightWidth,10),M=parseInt(h.borderBottomWidth,10),S=0,T=0,L="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-v:0,F="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-M:0,A="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,Q="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(x===t)S="start"===d?I:"end"===d?I-w:"nearest"===d?a(j,j+w,w,m,M,j+I,j+I+C,C):I-w/2,T="start"===f?H:"center"===f?H-b/2:"end"===f?H-b:a(y,y+b,b,p,v,y+H,y+H+N,N),S=Math.max(0,S+j),T=Math.max(0,T+y);else{S="start"===d?I-o-m:"end"===d?I-s+M+F:"nearest"===d?a(o,s,r,m,M+F,I,I+C,C):I-(o+r/2)+F/2,T="start"===f?H-c-p:"center"===f?H-(c+n/2)+L/2:"end"===f?H-i+v+L:a(c,i,n,p,v+L,H,H+N,N);let{scrollLeft:e,scrollTop:l}=t;S=0===Q?0:Math.max(0,Math.min(l+S/Q,t.scrollHeight-r/Q+F)),T=0===A?0:Math.max(0,Math.min(e+T/A,t.scrollWidth-n/A+L)),I+=l-S,H+=e-T}O.push({el:t,top:S,left:T})}return O};function c(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let r=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||
10,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(s(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:o,top:l,left:a}of s(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=l-r.top+r.bottom,t=a-r.left+r.right;o.scroll({top:e,left:t,behavior:n})}}},32622:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(15968).A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},33464:(e,t,r)=>{r.d(t,{PageBreadcrumb:()=>R,PageFooter:()=>P,PageLastUpdate:()=>C,PageTOC:()=>E,PageTOCPopover:()=>j,PageTOCPopoverContent:()=>y,PageTOCPopoverTrigger:()=>b});var n=r(83284),o=r(58232),l=r(86233),a=r(85787),i=r(60079),s=r(48166),c=r(5122),u=r(8049),d=r(85177),f=r(18388),h=r(65864),p=r(7243),m=r(64374),x=r(83573),g=r(51192);let v=(0,o.createContext)(null);function b(e){var t,r;let{text:a}=(0,s.useI18n)(),{open:u}=(0,o.use)(v),d=(0,x.a)(),f=(0,g.R3)(),h=(0,o.useMemo)(()=>d.findIndex(e=>f===e.url.slice(1)),[d,f]),m=(0,c.L)().at(-1),b=-1!==h&&!u;return(0,n.jsxs)(p.R6,{...e,className:(0,i.QP)("flex w-full h-(--fd-tocnav-height) items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-none [&_svg]:size-4 md:px-6",e.className),children:[(0,n.jsx)(w,{value:(h+1)/Math.max(1,d.length),max:1,className:(0,i.QP)("shrink-0",u&&"text-fd-primary")}),(0,n.jsxs)("span",{className:"grid flex-1 *:my-auto *:row-start-1 *:col-start-1",children:[(0,n.jsx)("span",{className:(0,i.QP)("truncate transition-all",u&&"text-fd-foreground",b&&"opacity-0 -translate-y-full pointer-events-none"),children:null!=(r=null==m?void 0:m.name)?r:a.toc}),(0,n.jsx)("span",{className:(0,i.QP)("truncate transition-all",!b&&"opacity-0 translate-y-full pointer-events-none"),children:null==(t=d[h])?void 0:t.title})]}),(0,n.jsx)(l.yQ,{className:(0,i.QP)("shrink-0 transition-transform mx-0.5",u&&"rotate-180")})]})}function w(e){let{value:t,strokeWidth:r=2,size:o=24,min:l=0,max:a=100,...i}=e,s=t<l?l:t>a?a:t,c=(o-r)/2,u=2*Math.PI*c,d=s/a*u,f={cx:o/2,cy:o/2,r:c,fill:"none",strokeWidth:r};return(0,n.jsxs)("svg",{role:"progressbar",viewBox:"0 0 ".concat(o," ").concat(o),"aria-valuenow":s,"aria-valuemin":l,"aria-valuemax":a,...i,children:[(0,n.jsx)("circle",{...f,className:"stroke-current/25"}),(0,n.jsx)("circle",{...f,stroke:"currentColor",strokeDasharray:u,strokeDashoffset:u-d,strokeLinecap:"round",transform:"rotate(-90 ".concat(o/2," ").concat(o/2,")"),className:"transition-all"})]})}function y(e){return(0,n.jsx)(p.Ke,{"data-toc-popover":"",...e,className:(0,i.QP)("flex flex-col px-4 max-h-[50vh] md:px-6",e.className),children:e.children})}function j(e){let t=(0,o.useRef)(null),[r,l]=(0,o.useState)(!1),{collapsed:a}=(0,m.c)(),{isTransparent:s}=(0,f.hI)(),c=function(e){let t=(0,o.useRef)(null);return(0,o.useLayoutEffect)(()=>{t.current=e}),(0,o.useCallback)(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];let o=t.current;return null==o?void 0:o(...r)},[])}(e=>{r&&t.current&&!t.current.contains(e.target)&&l(!1)});return(0,o.useEffect)(()=>(window.addEventListener("click",c),()=>{window.removeEventListener("click",c)}),[]),(0,n.jsx)(v,{value:(0,o.useMemo)(()=>({open:r,setOpen:l}),[l,r]),children:(0,n.jsx)(p.Nt,{open:r,onOpenChange:l,asChild:!0,children:(0,n.jsx)("header",{ref:t,id:"nd-tocnav",...e,className:(0,i.QP)("fixed pr-(--removed-body-scroll-bar-size,0) z-10 border-b backdrop-blur-sm transition-colors xl:hidden max-xl:on-root:[--fd-tocnav-height:40px]",(!s||r)&&"bg-fd-background/80",r&&"shadow-lg",e.className),style:{...e.style,top:"calc(var(--fd-banner-height) + var(--fd-nav-height))",insetInlineStart:a?"0px":"calc(var(--fd-sidebar-width) + var(--fd-layout-offset))",insetInlineEnd:0},children:e.children})})})}function C(e){let{date:t,...r}=e,{text:l}=(0,s.useI18n)(),[a,c]=(0,o.useState)("");return(0,o.useEffect)(()=>{c(new Date(t).toLocaleDateString())},[t]),(0,n.jsxs)("p",{...r,className:(0,i.QP)("text-sm text-fd-muted-foreground",r.className),children:[l.lastUpdate," ",a]})}let N=new Map;function P(e){let{items:t,...r}=e,{root:l}=(0,c.t)(),a=(0,u.a8)(),{previous:s,next:d}=(0,o.useMemo)(()=>
1{if(t)return t;let e=N.get(l.$id),r=null!=e?e:function e(t){let r=[];return t.forEach(t=>{if("folder"===t.type){t.index&&r.push(t.index),r.push(...e(t.children));return}"page"!==t.type||t.external||r.push(t)}),r}(l.children);N.set(l.$id,r);let n=r.findIndex(e=>(0,h.$)(e.url,a,!1));return -1===n?{}:{previous:r[n-1],next:r[n+1]}},[t,a,l]);return(0,n.jsxs)("div",{...r,className:(0,i.QP)("@container grid gap-4 pb-6",s&&d?"grid-cols-2":"grid-cols-1",r.className),children:[s?(0,n.jsx)(k,{item:s,index:0}):null,d?(0,n.jsx)(k,{item:d,index:1}):null]})}function k(e){var t;let{item:r,index:o}=e,{text:c}=(0,s.useI18n)(),u=0===o?l.JG:l.c_;return(0,n.jsxs)(a.default,{href:r.url,className:(0,i.QP)("flex flex-col gap-2 rounded-lg border p-4 text-sm transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground @max-lg:col-span-full",1===o&&"text-end"),children:[(0,n.jsxs)("div",{className:(0,i.QP)("inline-flex items-center gap-1.5 font-medium",1===o&&"flex-row-reverse"),children:[(0,n.jsx)(u,{className:"-mx-1 size-4 shrink-0 rtl:rotate-180"}),(0,n.jsx)("p",{children:r.name})]}),(0,n.jsx)("p",{className:"text-fd-muted-foreground truncate",children:null!=(t=r.description)?t:0===o?c.previousPage:c.nextPage})]})}function R(e){let{includeRoot:t,includeSeparator:r,includePage:s,...u}=e,f=(0,c.L)(),{root:h}=(0,c.t)(),p=(0,o.useMemo)(()=>(0,d.Pp)(h,f,{includePage:s,includeSeparator:r,includeRoot:t}),[s,t,r,f,h]);return 0===p.length?null:(0,n.jsx)("div",{...u,className:(0,i.QP)("flex items-center gap-1.5 text-sm text-fd-muted-foreground",u.className),children:p.map((e,t)=>{let r=(0,i.QP)("truncate",t===p.length-1&&"text-fd-primary font-medium");return(0,n.jsxs)(o.Fragment,{children:[0!==t&&(0,n.jsx)(l.c_,{className:"size-3.5 shrink-0"}),e.url?(0,n.jsx)(a.default,{href:e.url,className:(0,i.QP)(r,"transition-opacity hover:opacity-80"),children:e.name}):(0,n.jsx)("span",{className:r,children:e.name})]},t)})})}function E(e){let{collapsed:t}=(0,m.c)();return(0,n.jsx)("div",{id:"nd-toc",...e,className:(0,i.QP)("fixed bottom-0 pt-12 pb-2 pr-(--removed-body-scroll-bar-size,0) xl:on-root:[--fd-toc-width:286px] max-xl:hidden",e.className),style:{...e.style,top:"calc(var(--fd-banner-height) + var(--fd-nav-height))",insetInlineEnd:"max(".concat(t?"0px":"var(--fd-layout-offset)",", calc(50vw - var(--fd-sidebar-width)/2 - var(--fd-page-width)/2))")},children:(0,n.jsx)("div",{className:"flex h-full w-(--fd-toc-width) max-w-full flex-col pe-4",children:e.children})})}},48351:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(15968).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},51192:(e,t,r)=>{r.d(t,{Cz:()=>h,Mf:()=>u,N2:()=>d,NQ:()=>f,R3:()=>c}),r(97284);var n=r(58232),o=r(24313),l=r(83284);function a(e){let t=(0,n.useRef)(null);return(0,n.useLayoutEffect)(()=>{t.current=e}),(0,n.useCallback)(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];let o=t.current;return null==o?void 0:o(...r)},[])}var i=(0,n.createContext)([]),s=(0,n.createContext)({current:null});function c(){return(0,n.useContext)(i)[0]}function u(){return(0,n.useContext)(i)}function d(e){let{containerRef:t,children:r}=e;return(0,l.jsx)(s.Provider,{value:t,children:r})}function f(e){let{toc:t,single:r=!1,children:o}=e,s=(0,n.useMemo)(()=>t.map(e=>e.url.split("#")[1]),[t]);return(0,l.jsx)(i.Provider,{value:function(e,t){let r=(0,n.useRef)(null),[o,l]=(0,n.use
1State)(()=>[]),i=(0,n.useRef)(null),s=a(r=>{null!=i.current||(i.current={visible:new Set});let n=i.current;for(let e of r)e.isIntersecting?n.visible.add(e.target.id):n.visible.delete(e.target.id);if(0===n.visible.size){let t,n=r[0].rootBounds.top,o=-1;for(let r of e){let e=document.getElementById(r);if(!e)continue;let l=Math.abs(n-e.getBoundingClientRect().top);(-1===o||l<o)&&(t=e,o=l)}l(t?[t.id]:[])}else{let r=e.filter(e=>n.visible.has(e));l(t?r.slice(0,1):r)}});return(0,n.useEffect)(()=>{if(!r.current)return r.current=new IntersectionObserver(s,{rootMargin:"0px",threshold:.98}),()=>{var e;null==(e=r.current)||e.disconnect(),r.current=null}},[]),(0,n.useEffect)(()=>{let t=r.current;if(!t)return;let n=e.flatMap(e=>{var t;return null!=(t=document.getElementById(e))?t:[]});for(let e of n)t.observe(e);return()=>{for(let e of n)t.unobserve(e)}},[e]),o}(s,r),children:o})}function h(e){let{ref:t,onActiveChange:r=()=>null,...i}=e,c=(0,n.useContext)(s),d=(0,n.useRef)(null),f=u().indexOf(i.href.slice(1)),h=-1!==f,p=0===f,m=a(r);return(0,n.useLayoutEffect)(()=>{let e=d.current,t=c.current;t&&e&&p&&(0,o.A)(e,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:t})},[c,p]),(0,n.useEffect)(()=>()=>m(h),[h]),(0,l.jsx)("a",{ref:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}}(d,t),"data-active":h,...i,children:i.children})}},54553:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(83284),o=r(51192),l=r(58232),a=r(60079),i=r(63576),s=r(83573),c=r(58910),u=r(48166);function d(e){let{ref:t,className:r,...o}=e,d=(0,l.useRef)(null),p=(0,s.a)(),{text:m}=(0,u.useI18n)(),[x,g]=(0,l.useState)();return((0,l.useEffect)(()=>{if(!d.current)return;let e=d.current;function t(){if(0===e.clientHeight)return;let t=0,r=0,n=[];for(let o=0;o<p.length;o++){let l=e.querySelector('a[href="#'.concat(p[o].url.slice(1),'"]'));if(!l)continue;let a=getComputedStyle(l),i=f(p[o].depth)+1,s=l.offsetTop+parseFloat(a.paddingTop),c=l.offsetTop+l.clientHeight-parseFloat(a.paddingBottom);t=Math.max(i,t),r=Math.max(r,c),n.push("".concat(0===o?"M":"L").concat(i," ").concat(s)),n.push("L".concat(i," ").concat(c))}g({path:n.join(" "),width:t+1,height:r})}let r=new ResizeObserver(t);return t(),r.observe(e),()=>{r.disconnect()}},[p]),0===p.length)?(0,n.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:m.tocNoHeadings}):(0,n.jsxs)(n.Fragment,{children:[x?(0,n.jsx)("div",{className:"absolute start-0 top-0 rtl:-scale-x-100",style:{width:x.width,height:x.height,maskImage:'url("data:image/svg+xml,'.concat(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '.concat(x.width," ").concat(x.height,'"><path d="').concat(x.path,'" stroke="black" stroke-width="1" fill="none" /></svg>')),'")')},children:(0,n.jsx)(i.j,{containerRef:d,className:"mt-(--fd-top) h-(--fd-height) bg-fd-primary transition-all"})}):null,(0,n.jsx)("div",{ref:(0,c.P)(d,t),className:(0,a.QP)("flex flex-col",r),...o,children:p.map((e,t)=>{var r,o;return(0,n.jsx)(h,{item:e,upper:null==(r=p[t-1])?void 0:r.depth,lower:null==(o=p[t+1])?void 0:o.depth},e.url)})})]})}function f(e){return 10*(e>=3)}function h(e){var t;let{item:r,upper:l=r.depth,lower:i=r.depth}=e,s=f(r.depth),c=f(l),u=f(i);return(0,n.jsxs)(o.Cz,{href:r.url,style:{paddingInlineStart:(t=r.depth)<=2?14:3===t?26:36},className:"prose relative py-1.5 text-sm text-fd-muted-foreground hover:text-fd-accent-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary",children:[s!==c?(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",className:"absolute -top-1.5 start-0 size-4 rtl:-scale-x-100",children:(0,n.jsx)("line",{x1:c,y1:"0",x2:s,y2:"12",className:"stroke-fd-foreground/10",strokeWidth:"1"})}):null,(0,n.jsx)("div",{className:(0,a.QP)("absolute inset-y-0 w-px bg-fd-foreground/10",s!==c&&"top-1.5",s!==u&&"bottom-1.5"),style:{insetInlineStart:s}}),r.title]})}},63576:(e,t,r)=>{r.d(t,{j:()=>a});var n=r(83284),o=r(58232),l=r(51192);function a({containerRef:e,...t}){let r=(0,o.useRef)(null);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:r,role:"none",...t}),(0,n.jsx)(i,{containerRef:e,thumbRef:r})]})}function i({containerRef:e,thumbRef:t}){let r=(0,l.Mf)(),n=function(e){let t=(0,o.useRef)(null);return(0,o.useLayoutEffect)(()=>{t.current=e}),(0,o.useCallback)((...e)=>{let r=t.current;return r?.(...e)},[])}(()=>{e.current&&t.current&&c(t.current,s(e.current,r))});return(0,o.useEffect)(()=>
1{if(!e.current)return;let t=e.current,r=new ResizeObserver(n);return r.observe(t),()=>{r.disconnect()}},[e]),e.current&&t.current&&c(t.current,s(e.current,r)),null}function s(e,t){if(0===t.length||0===e.clientHeight)return[0,0];let r=Number.MAX_VALUE,n=0;for(let o of t){let t=e.querySelector(`a[href="#${o}"]`);if(!t)continue;let l=getComputedStyle(t);r=Math.min(r,t.offsetTop+parseFloat(l.paddingTop)),n=Math.max(n,t.offsetTop+t.clientHeight-parseFloat(l.paddingBottom))}return[r,n-r]}function c(e,t){e.style.setProperty("--fd-top",`${t[0]}px`),e.style.setProperty("--fd-height",`${t[1]}px`)}},83573:(e,t,r)=>{r.d(t,{TOCItems:()=>p,TOCProvider:()=>f,TOCScrollArea:()=>h,a:()=>d});var n=r(83284),o=r(51192),l=r(58232),a=r(60079),i=r(48166),s=r(63576),c=r(58910);let u=(0,l.createContext)([]);function d(){return(0,l.useContext)(u)}function f(e){let{toc:t,children:r,...l}=e;return(0,n.jsx)(u,{value:t,children:(0,n.jsx)(o.NQ,{toc:t,...l,children:r})})}function h(e){let{ref:t,className:r,...i}=e,s=(0,l.useRef)(null);return(0,n.jsx)("div",{ref:(0,c.P)(s,t),className:(0,a.QP)("relative min-h-0 text-sm ms-px overflow-auto [scrollbar-width:none] [mask-image:linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] py-3",r),...i,children:(0,n.jsx)(o.N2,{containerRef:s,children:i.children})})}function p(e){let{ref:t,className:r,...o}=e,u=(0,l.useRef)(null),f=d(),{text:h}=(0,i.useI18n)();return 0===f.length?(0,n.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:h.tocNoHeadings}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.j,{containerRef:u,className:"absolute top-(--fd-top) h-(--fd-height) w-px bg-fd-primary transition-all"}),(0,n.jsx)("div",{ref:(0,c.P)(t,u),className:(0,a.QP)("flex flex-col border-s border-fd-foreground/10",r),...o,children:f.map(e=>(0,n.jsx)(m,{item:e},e.url))})]})}function m(e){let{item:t}=e;return(0,n.jsx)(o.Cz,{href:t.url,className:(0,a.QP)("prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary",t.depth<=2&&"ps-3",3===t.depth&&"ps-6",t.depth>=4&&"ps-8"),children:t.title})}},95719:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(15968).A)("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]])}}]);

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.