PageSourceSearch

https://tidb.ai/_next/static/chunks/8550-e33593999f720dac.js

js tidb.ai collected 2026-09-25 21:47:43 UTC 10,750 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8550],{56935:(e,r,t)=>{t.d(r,{A:()=>o});let o=(0,t(93768).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},27330:(e,r,t)=>{t.d(r,{Cf:()=>M,G$:()=>K,Hs:()=>b,UC:()=>er,VY:()=>eo,ZL:()=>Q,bL:()=>Y,bm:()=>en,hE:()=>et,hJ:()=>ee,l9:()=>$});var o=t(64466),n=t(12226),a=t(1471),l=t(84253),i=t(39510),s=t(1982),u=t(22134),d=t(18334),c=t(82622),p=t(57617),f=t(42817),v=t(16423),g=t(96079),h=t(39982),m=t(17794),x=t(88762),C="Dialog",[j,b]=(0,l.A)(C),[R,y]=j(C),D=e=>{let{__scopeDialog:r,children:t,open:n,defaultOpen:a,onOpenChange:l,modal:u=!0}=e,d=o.useRef(null),c=o.useRef(null),[p=!1,f]=(0,s.i)({prop:n,defaultProp:a,onChange:l});return(0,x.jsx)(R,{scope:r,triggerRef:d,contentRef:c,contentId:(0,i.B)(),titleId:(0,i.B)(),descriptionId:(0,i.B)(),open:p,onOpenChange:f,onOpenToggle:o.useCallback(()=>f(e=>!e),[f]),modal:u,children:t})};D.displayName=C;var w="DialogTrigger",P=o.forwardRef((e,r)=>{let{__scopeDialog:t,...o}=e,l=y(w,t),i=(0,a.s)(r,l.triggerRef);return(0,x.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":S(l.open),...o,ref:i,onClick:(0,n.m)(e.onClick,l.onOpenToggle)})});P.displayName=w;var O="DialogPortal",[A,F]=j(O,{forceMount:void 0}),_=e=>{let{__scopeDialog:r,forceMount:t,children:n,container:a}=e,l=y(O,r);return(0,x.jsx)(A,{scope:r,forceMount:t,children:o.Children.map(n,e=>(0,x.jsx)(p.C,{present:t||l.open,children:(0,x.jsx)(c.Z,{asChild:!0,container:a,children:e})}))})};_.displayName=O;var E="DialogOverlay",I=o.forwardRef((e,r)=>{let t=F(E,e.__scopeDialog),{forceMount:o=t.forceMount,...n}=e,a=y(E,e.__scopeDialog);return a.modal?(0,x.jsx)(p.C,{present:o||a.open,children:(0,x.jsx)(N,{...n,ref:r})}):null});I.displayName=E;var N=o.forwardRef((e,r)=>{let{__scopeDialog:t,...o}=e,n=y(E,t);return(0,x.jsx)(g.A,{as:m.DX,allowPinchZoom:!0,shards:[n.contentRef],children:(0,x.jsx)(f.sG.div,{"data-state":S(n.open),...o,ref:r,style:{pointerEvents:"auto",...o.style}})})}),k="DialogContent",M=o.forwardRef((e,r)=>{let t=F(k,e.__scopeDialog),{forceMount:o=t.forceMount,...n}=e,a=y(k,e.__scopeDialog);return(0,x.jsx)(p.C,{present:o||a.open,children:a.modal?(0,x.jsx)(B,{...n,ref:r}):(0,x.jsx)(G,{...n,ref:r})})});M.displayName=k;var B=o.forwardRef((e,r)=>{let t=y(k,e.__scopeDialog),l=o.useRef(null),i=(0,a.s)(r,t.contentRef,l);return o.useEffect(()=>{let e=l.current;if(e)return(0,h.Eq)(e)},[]),(0,x.jsx)(T,{...e,ref:i,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.m)(e.onCloseAutoFocus,e=>{var r;e.preventDefault(),null===(r=t.triggerRef.current)||void 0===r||r.focus()}),onPointerDownOutside:(0,n.m)(e.onPointerDownOutside,e=>{let r=e.detail.originalEvent,t=0===r.button&&!0===r.ctrlKey;(2===r.button||t)&&e.preventDefault()}),onFocusOutside:(0,n.m)(e.onFocusOutside,e=>e.preventDefault())})}),G=o.forwardRef((e,r)=>{let t=y(k,e.__scopeDialog),n=o.useRef(!1),a=o.useRef(!1);return(0,x.jsx)(T,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var o,l;null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,r),r.defaultPrevented||(n.current||null===(l=t.triggerRef.current)||void 0===l||l.focus(),r.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:r=>{var o,l;null===(o=e.onInteractOutside)||void 0===o||o.call(e,r),r.defaultPrevented||(n.current=!0,"pointerdown"!==r.detail.originalEvent.type||(a.current=!0));let i=r.target;(null===(l=t.triggerRef.current)||void 0===l?void 0:l.contains(i))&&r.preventDefault(),"focusin"===r.detail.originalEvent.type&&a.current&&r.preventDefault()}})}),T=o.forwardRef((e,r)=>{let{__scopeDialog:t,trapFocus:n,onOpenAutoFocus:l,onCloseAutoFocus:i,...s}=e,c=y(k,t),p=o.useRef(null),f=(0,a.s)(r,p);return(0,v.Oh)(),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(d.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:l,onUnmountAutoFocus:i,children:(0,x.jsx)(u.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":S(c.open),...s,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(X,{titleId:c.titleId}),(0,x.jsx)(J,{contentRef:p,descriptionId:c.descriptionId})]})]})}),Z="DialogTitle",q=o.forwardRef((e,r)=>{let{__scopeDialog:t,...o}=e,n=y(Z,t);return(0,x.jsx)(f.sG.h2,{id:n.titleId,...o,ref:r})});q.displayName=Z;var L="DialogDescription",U=o.forwardRef((e,r)=>{let{__scopeDialog:t,...o}=e,n=y(L,t);return(0,x.jsx)(f.sG.p,{id:n.descriptionId,...o,ref:r})});U.displayName=L;var W="DialogClose",z=o.forwardRef((e,r)=>{let{__scopeDialog:t,...o}=e,a=y(W,t);return(0,x.jsx)(f.sG.button,{type:"button",...o,ref:r,onClick:(0,n.m)(e.onClick,()=>a.onOpenChange(!1))})});function S(e){return e?"open":"closed"}z.displayName=W;var H="DialogTitleWarning",[K,V]=(0,l.q)(H,{contentName:k,titleName:Z,docsSlug:"dialog"}),X=e=>{let{titleId:r}=e,t=V(H),n="`".concat(t.contentName,"` requires a `").concat(t.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(t.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(t.docsSlug);return o.useEffect(()=>{r&&!document.getElementById(r)&&console.error(n)},[n,r]),null},J=e=>{let{contentRef:r,descriptionId:t}=e,n=V("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(n.contentName,"}.");return o.useEffect(()=>{var e;let o=null===(e=r.current)||void 0===e?void 0:e.getAttribute("aria-describedby");t&&o&&!document.getElementById(t)&&console.warn(a)},[a,r,t]),null},Y=D,$=P,Q=_,ee=I,er=M,et=q,eo=U,en=z},44898:(e,r,t)=>{t.d(r,{UC:()=>z,ZL:()=>W,bL:()=>L,l9:()=>U});var o=t(64466),n=t(12226),a=t(1471),l=t(84253),i=t(22134),s=t(16423),u=t(18334),d=t(39510),c=t(95343),p=t(82622),f=t(57617),v=t(42817),g=t(17794),h=t(1982),m=t(39982),x=t(96079),C=t(88762),j="Popover",[b,R]=(0,l.A)(j,[c.Bk]),y=(0,c.Bk)(),[D,w]=b(j),P=e=>{let{__scopePopover:r,children:t,open:n,defaultOpen:a,onOpenChange:l,modal:i=!1}=e,s=y(r),u=o.useRef(null),[p,f]=o.useState(!1),[v=!1,g]=(0,h.i)({prop:n,defaultProp:a,onChange:l});return(0,C.jsx)(c.bL,{...s,children:(0,C.jsx)(D,{scope:r,contentId:(0,d.B)(),triggerRef:u,open:v,onOpenChange:g,onOpenToggle:o.useCallback(()=>g(e=>!e),[g]),hasCustomAnchor:p,onCustomAnchorAdd:o.useCallback(()=>f(!0),[]),onCustomAnchorRemove:o.useCallback(()=>f(!1),[]),modal:i,children:t})})};P.displayName=j;var O="PopoverAnchor";o.forwardRef((e,r)=>{let{__scopePopover:t,...n}=e,a=w(O,t),l=y(t),{onCustomAnchorAdd:i,onCustomAnchorRemove:s}=a;return o.useEffect(()=>(i(),()=>s()),[i,s]),(0,C.jsx)(c.Mz,{...l,...n,ref:r})}).displayName=O;var A="PopoverTrigger",F=o.forwardRef((e,r)=>{let{__scopePopover:t,...o}=e,l=w(A,t),i=y(t),s=(0,a.s)(r,l.triggerRef),u=(0,C.jsx)(v.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":q(l.open),...o,ref:s,onClick:(0,n.m)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?u:(0,C.jsx)(c.Mz,{asChild:!0,...i,children:u})});F.displayName=A;var _="PopoverPortal",[E,I]=b(_,{forceMount:void 0}),N=e=>{let{__scopePopover:r,forceMount:t,children:o,container:n}=e,a=w(_,r);return(0,C.jsx)(E,{scope:r,forceMount:t,children:(0,C.jsx)(f.C,{present:t||a.open,children:(0,C.jsx)(p.Z,{asChild:!0,container:n,children:o})})})};N.displayName=_;var k="PopoverContent",M=o.forwardRef((e,r)=>{let t=I(k,e.__scopePopover),{forceMount:o=t.forceMount,...n}=e,a=w(k,e.__scopePopover);return(0,C.jsx)(f.C,{present:o||a.open,children:a.modal?(0,C.jsx)(B,{...n,ref:r}):(0,C.jsx)(G,{...n,ref:r})})});M.displayName=k;var B=o.forwardRef((e,r)=>{let t=w(k,e.__scopePopover),l=o.useRef(null),i=(0,a.s)(r,l),s=o.useRef(!1);return o.useEffect(()=>{let e=l.current;if(e)return(0,m.Eq)(e)},[]),(0,C.jsx)(x.A,{as:g.DX,allowPinchZoom:!0,children:(0,C.jsx)(T,{...e,ref:i,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.m)(e.onCloseAutoFocus,e=>{var r;e.preventDefault(),s.current||null===(r=t.triggerRef.current)||void 0===r||r.focus()}),onPointerDownOutside:(0,n.m)(e.onPointerDownOutside,e=>{let r=e.detail.originalEvent,t=0===r.button&&!0===r.ctrlKey,o=2===r.button||t;s.current=o},{checkForDefaultPrevented:!1}),onFocusOutside:(0,n.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),G=o.forwardRef((e,r)=>{let t=w(k,e.__scopePopover),n=o.useRef(!1),a=o.useRef(!1);return(0,C.jsx)(T,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var o,l;null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,r),r.defaultPrevented||(n.current||null===(l=t.triggerRef.current)||void 0===l||l.focus(),r.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:r=>{var o,l;null===(o=e.onInteractOutside)||void 0===o||o.call(e,r),r.defaultPrevented||(n.current=!0,"pointerdown"!==r.detail.originalEvent.type||(a.current=!0));let i=r.target;(null===(l=t.triggerRef.current)||void 0===l?void 0:l.contains(i))&&r.preventDefault(),"focusin"===r.detail.originalEvent.type&&a.current&&r.preventDefault()}})}),T=o.forwardRef((e,r)=>{let{__scopePopover:t,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:v,...g}=e,h=w(k,t),m=y(t);return(0,s.Oh)(),(0,C.jsx)(u.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:a,children:(0,C.jsx)(i.qW,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:v,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:f,onDismiss:()=>h.onOpenChange(!1),children:(0,C.jsx)(c.UC,{"data-state":q(h.open),role:"dialog",id:h.contentId,...m,...g,ref:r,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Z="PopoverClose";function q(e){return e?"open":"closed"}o.forwardRef((e,r)=>{let{__scopePopover:t,...o}=e,a=w(Z,t);return(0,C.jsx)(v.sG.button,{type:"button",...o,ref:r,onClick:(0,n.m)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=Z,o.forwardRef((e,r)=>{let{__scopePopover:t,...o}=e,n=y(t);return(0,C.jsx)(c.i3,{...n,...o,ref:r})}).displayName="PopoverArrow";var L=P,U=F,W=N,z=M},53382:(e,r,t)=>{t.d(r,{Z:()=>n});var o=t(64466);function n(e){let r=o.useRef({value:e,previous:e});return o.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}}}]);

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.