PageSourceSearch

https://seeda.app/_next/static/chunks/32376-4af081d6425f2975.js

js seeda.app collected 2026-10-04 13:29:59 UTC 12,696 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[32376],{3475:(e,t,n)=>{n.d(t,{TOCItems:()=>m,TOCProvider:()=>v,TOCScrollArea:()=>g,a:()=>p});var r=n(32812),o=n(20857),a=n(7907),i=n(69140),l=n(28434),s=n(20792),c=n(48372),u=n(98576),d=n(89618),f=n(64e3),h=(0,s.createContext)([]);function p(){return(0,s.useContext)(h)}function v(e){var t=e.toc,n=e.children,s=(0,a._)(e,["toc","children"]);return(0,i.jsx)(h,{value:t,children:(0,i.jsx)(l.NQ,(0,o._)((0,r._)({toc:t},s),{children:n}))})}function g(e){var t=e.ref,n=e.className,u=(0,a._)(e,["ref","className"]),d=(0,s.useRef)(null);return(0,i.jsx)("div",(0,o._)((0,r._)({ref:(0,f.P)(d,t),className:(0,c.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",n)},u),{children:(0,i.jsx)(l.N2,{containerRef:d,children:u.children})}))}function m(e){var t=e.ref,n=e.className,l=(0,a._)(e,["ref","className"]),h=(0,s.useRef)(null),v=p(),g=(0,u.useI18n)().text;return 0===v.length?(0,i.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:g.tocNoHeadings}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.j,{containerRef:h,className:"absolute top-(--fd-top) h-(--fd-height) w-px bg-fd-primary transition-all"}),(0,i.jsx)("div",(0,o._)((0,r._)({ref:(0,f.P)(t,h),className:(0,c.QP)("flex flex-col border-s border-fd-foreground/10",n)},l),{children:v.map(function(e){return(0,i.jsx)(b,{item:e},e.url)})}))]})}function b(e){var t=e.item;return(0,i.jsx)(l.Cz,{href:t.url,className:(0,c.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})}},21526:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(20792);function o(e,t,n=function e(t,n){return Array.isArray(t)&&Array.isArray(n)?n.length!==t.length||t.some((t,r)=>e(t,n[r])):t!==n}){let[a,i]=(0,r.useState)(e);n(a,e)&&(t(e,a),i(e))}},26995:(e,t,n)=>{n.d(t,{A:()=>c});let r=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,a=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return o(n.overflowY,t)||o(n.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},i=(e,t,n,r,o,a,i,l)=>a<e&&i>t||a>e&&i<t?0:a<=e&&l<=n||i>=t&&l>=n?a-e-r:i>t&&l<n||a<e&&l>n?i-t+o:0,l=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var n,o,s,c;if("undefined"==typeof document)return[];let{scrollMode:u,block:d,inline:f,boundary:h,skipOverflowHiddenElements:p}=t,v="function"==typeof h?h:e=>e!==h;if(!r(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,m=[],b=e;for(;r(b)&&v(b);){if((b=l(b))===g){m.push(b);break}null!=b&&b===document.body&&a(b)&&!a(document.documentElement)||null!=b&&a(b,p)&&m.push(b)}let x=null!=(o=null==(n=window.visualViewport)?void 0:n.width)?o:innerWidth,y=null!=(c=null==(s=window.visualViewport)?void 0:s.height)?c:innerHeight,{scrollX:_,scrollY:w}=window,{height:C,width:T,top:N,right:M,bottom:j,left:R}=e.getBoundingClientRect(),{top:H,right:I,bottom:E,left:P}=(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),W="start"===d||"nearest"===d?N-H:"end"===d?j+E:N+C/2-H+E,A="center"===f?R+T/2-P+I:"end"===f?M+I:R-P,F=[];for(let e=0;e<m.length;e++){let t=m[e],{height:n,width:r,top:o,right:l,bottom:s,left:c}=t.getBoundingClientRect();if("if-needed"===u&&N>=0&&R>=0&&j<=y&&M<=x&&(t===g&&!a(t)||N>=o&&j<=s&&R>=c&&M<=l))break;let h=getComputedStyle(t),p=parseInt(h.borderLeftWidth,10),v=parseInt(h.borderTopWidth,10),b=parseInt(h.borderRightWidth,10),H=parseInt(h.borderBottomWidth,10),I=0,E=0,P="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-b:0,k="offsetHeight"in t?t.offsetHeight-t.clientHeight-v-H:0,L="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,S="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(g===t)I="start"===d?W:"end"===d?W-y:"nearest"===d?i(w,w+y,y,v,H,w+W,w+W+C,C):W-y/2,E="start"===f?A:"center"===f?A-x/2:"end"===f?A-x:i(_,_+x,x,p,b,_+A,_+A+T,T),I=Math.max(0,I+w),E=Math.max(0,E+_);else{I="start"===d?W-o-v:"end"===d?W-s+H+k:"nearest"===d?i(o,s,n,v,H+k,W,W+C,C):W-(o+n/2)+k/2,E="start"===f?A-c-p:"center"===f?A-(c+r/2)+P/2:"end"===f?A-l+b+P:i(c,l,r,p,b+P,A,A+T,T);let{scrollLeft:e,scrollTop:a}=t;I=0===S?0:Math.max(0,Math.min(a+I/S,t.scrollHeight-n/S+k)),E=0===L?0:Math.max(0,Math.min(e+E/L,t.scrollWidth-r/L+P)),W+=a-I,A+=e-E}F.push({el:t,top:I,left:E})}return F};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 n=(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 r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:o,top:a,left:i}of s(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=a-n.top+n.bottom,t=i-n.left+n.right;o.scroll({top:e,left:t,behavior:r})}}},28434:(e,t,n)=>{n.d(t,{Cz:()=>b,Mf:()=>v,N2:()=>g,NQ:()=>m,R3:()=>p});var r=n(32812),o=n(20857),a=n(7907),i=n(57505),l=n(17727),s=n(21526);n(97940);var c=n(20792),u=n(26995),d=n(69140),f=(0,c.createContext)([]),h=(0,c.createContext)({current:null});function p(){return(0,c.useContext)(f).at(-1)}function v(){return(0,c.useContext)(f)}function g(e){var t=e.containerRef,n=e.children;return(0,d.jsx)(h.Provider,{value:t,children:n})}function m(e){var t,n,r,o,a=e.toc,s=e.single,u=e.children,h=(0,c.useMemo)(function(){return a.map(function(e){return e.url.split("#")[1]})},[a]);return(0,d.jsx)(f.Provider,{value:(t=void 0===s||s,r=(n=(0,i._)((0,c.useState)([]),2))[0],o=n[1],(0,c.useEffect)(function(){var e=function(){var e=document.scrollingElement;if(e){var n=e.scrollTop;n<=0&&t?o(h.slice(0,1)):n+e.clientHeight>=e.scrollHeight-6&&o(function(e){return e.length>0&&!t?h.slice(h.indexOf(e[0])):h.slice(-1)})}},n=[],r=new IntersectionObserver(function(e){var t=!0,r=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(t=(i=s.next()).done);t=!0)!function(){var e=i.value;e.isIntersecting&&!n.includes(e.target.id)?n=(0,l._)(n).concat([e.target.id]):!e.isIntersecting&&n.includes(e.target.id)&&(n=n.filter(function(t){return t!==e.target.id}))}()}catch(e){r=!0,a=e}finally{try{t||null==s.return||s.return()}finally{if(r)throw a}}n.length>0&&o(n)},{rootMargin:t?"-80px 0% -70% 0%":"-20px 0% -40% 0%",threshold:1}),a=!0,i=!1,s=void 0;try{for(var c,u=h[Symbol.iterator]();!(a=(c=u.next()).done);a=!0){var d=c.value,f=document.getElementById(d);f&&r.observe(f)}}catch(e){i=!0,s=e}finally{try{a||null==u.return||u.return()}finally{if(i)throw s}}return e(),window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e),r.disconnect()}},[t,h]),t?r.slice(0,1):r),children:u})}var b=(0,c.forwardRef)(function(e,t){var n=e.onActiveChange,i=(0,a._)(e,["onActiveChange"]),l=(0,c.useContext)(h),f=v(),p=(0,c.useRef)(null),g=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):null!==t&&(t.current=e)})}}(p,t),m=f.includes(i.href.slice(1));return(0,s.T)(m,function(e){var t=p.current;t&&(e&&l.current&&(0,u.A)(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:l.current}),null==n||n(e))}),(0,d.jsx)("a",(0,o._)((0,r._)({ref:g,"data-active":m},i),{children:i.children}))});b.displayName="TOCItem"},57320:(e,t,n)=>{n.d(t,{T:()=>r.T});var r=n(21526);n(97940)},60380:(e,t,n)=>{n.d(t,{B8:()=>A,UC:()=>k,Xi:()=>R,av:()=>I,bL:()=>W,j7:()=>M,l9:()=>F,tU:()=>T});var r=n(32812),o=n(20857),a=n(7907),i=n(57505),l=n(20792),s=n(20836),c=n(52804),u=n(27233),d=n(412),f=n(23959),h=n(40221),p=n(98139),v=n(65507),g=n(69140),m="Tabs",b=(0,i._)((0,c.A)(m,[u.RG]),2),x=b[0];b[1];var y=(0,u.RG)(),_=(0,i._)(x(m),2),w=_[0],C=_[1],T=l.forwardRef(function(e,t){var n=e.__scopeTabs,l=e.value,s=e.onValueChange,c=e.defaultValue,u=e.orientation,d=void 0===u?"horizontal":u,b=e.dir,x=e.activationMode,y=(0,a._)(e,["__scopeTabs","value","onValueChange","defaultValue","orientation","dir","activationMode"]),_=(0,h.jH)(b),C=(0,i._)((0,p.i)({prop:l,onChange:s,defaultProp:null!=c?c:"",caller:m}),2),T=C[0],N=C[1];return(0,g.jsx)(w,{scope:n,baseId:(0,v.B)(),value:T,onValueChange:N,orientation:d,dir:_,activationMode:void 0===x?"automatic":x,children:(0,g.jsx)(f.sG.div,(0,o._)((0,r._)({dir:_,"data-orientation":d},y),{ref:t}))})});T.displayName=m;var N="TabsList",M=l.forwardRef(function(e,t){var n=e.__scopeTabs,i=e.loop,l=(0,a._)(e,["__scopeTabs","loop"]),s=C(N,n),c=y(n);return(0,g.jsx)(u.bL,(0,o._)((0,r._)({asChild:!0},c),{orientation:s.orientation,dir:s.dir,loop:void 0===i||i,children:(0,g.jsx)(f.sG.div,(0,o._)((0,r._)({role:"tablist","aria-orientation":s.orientation},l),{ref:t}))}))});M.displayName=N;var j="TabsTrigger",R=l.forwardRef(function(e,t){var n=e.__scopeTabs,i=e.value,l=e.disabled,c=void 0!==l&&l,d=(0,a._)(e,["__scopeTabs","value","disabled"]),h=C(j,n),p=y(n),v=E(h.baseId,i),m=P(h.baseId,i),b=i===h.value;return(0,g.jsx)(u.q7,(0,o._)((0,r._)({asChild:!0},p),{focusable:!c,active:b,children:(0,g.jsx)(f.sG.button,(0,o._)((0,r._)({type:"button",role:"tab","aria-selected":b,"aria-controls":m,"data-state":b?"active":"inactive","data-disabled":c?"":void 0,disabled:c,id:v},d),{ref:t,onMouseDown:(0,s.mK)(e.onMouseDown,function(e){c||0!==e.button||!1!==e.ctrlKey?e.preventDefault():h.onValueChange(i)}),onKeyDown:(0,s.mK)(e.onKeyDown,function(e){[" ","Enter"].includes(e.ke
1y)&&h.onValueChange(i)}),onFocus:(0,s.mK)(e.onFocus,function(){var e="manual"!==h.activationMode;b||c||!e||h.onValueChange(i)})}))}))});R.displayName=j;var H="TabsContent",I=l.forwardRef(function(e,t){var n=e.__scopeTabs,i=e.value,s=e.forceMount,c=e.children,u=(0,a._)(e,["__scopeTabs","value","forceMount","children"]),h=C(H,n),p=E(h.baseId,i),v=P(h.baseId,i),m=i===h.value,b=l.useRef(m);return l.useEffect(function(){var e=requestAnimationFrame(function(){return b.current=!1});return function(){return cancelAnimationFrame(e)}},[]),(0,g.jsx)(d.C,{present:s||m,children:function(n){var a=n.present;return(0,g.jsx)(f.sG.div,(0,o._)((0,r._)({"data-state":m?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":p,hidden:!a,id:v,tabIndex:0},u),{ref:t,style:(0,o._)((0,r._)({},e.style),{animationDuration:b.current?"0s":void 0}),children:a&&c}))}})});function E(e,t){return"".concat(e,"-trigger-").concat(t)}function P(e,t){return"".concat(e,"-content-").concat(t)}I.displayName=H;var W=T,A=M,F=R,k=I},89618:(e,t,n)=>{n.d(t,{j:()=>u});var r=n(69140),o=n(20792),a=n(28434),i=n(57320),l=n(34812);function s(e,t){if(0===t.length||0===e.clientHeight)return[0,0];let n=Number.MAX_VALUE,r=0;for(let o of t){let t=e.querySelector(`a[href="#${o}"]`);if(!t)continue;let a=getComputedStyle(t);n=Math.min(n,t.offsetTop+parseFloat(a.paddingTop)),r=Math.max(r,t.offsetTop+t.clientHeight-parseFloat(a.paddingBottom))}return[n,r-n]}function c(e,t){e.style.setProperty("--fd-top",`${t[0]}px`),e.style.setProperty("--fd-height",`${t[1]}px`)}function u({containerRef:e,...t}){let n=a.Mf(),u=(0,o.useRef)(null),d=(0,l.J)(()=>{e.current&&u.current&&c(u.current,s(e.current,n))});return(0,o.useEffect)(()=>{if(!e.current)return;let t=e.current;d();let n=new ResizeObserver(d);return n.observe(t),()=>{n.disconnect()}},[e,d]),(0,i.T)(n,()=>{e.current&&u.current&&c(u.current,s(e.current,n))}),(0,r.jsx)("div",{ref:u,role:"none",...t})}},98576:(e,t,n)=>{n.r(t),n.d(t,{I18nContext:()=>a,I18nLabel:()=>i,defaultTranslations:()=>o,useI18n:()=>l});var r=n(20792),o={search:"Search",searchNoResult:"No results found",toc:"On this page",tocNoHeadings:"No Headings",lastUpdate:"Last updated on",chooseLanguage:"Choose a language",nextPage:"Next Page",previousPage:"Previous Page",chooseTheme:"Theme",editOnGithub:"Edit on GitHub"},a=(0,r.createContext)({text:o});function i(e){return l().text[e.label]}function l(){return(0,r.useContext)(a)}}}]);

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.