1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="4f3cefa7-24fa-6f03-acf0-d3bcd8727897")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,737877,e=>{"use strict";var t=e.i(271645);function r(e){let[r,n]=(0,t.useState)(!1),i=(0,t.useRef)(e),o=(0,t.useRef)(null);i.current=e;let s=(0,t.useCallback)(()=>{o.current&&window.clearTimeout(o.current),Promise.resolve(i.current()).then(()=>{n(!0),o.current=window.setTimeout(()=>{n(!1)},1500)})},[]);return(0,t.useEffect)(()=>()=>{o.current&&window.clearTimeout(o.current)},[]),[r,s]}e.s(["useCopyButton",()=>r])},14804,e=>{"use strict";function t(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})}}e.s(["mergeRefs",()=>t])},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),i=e.i(991918),o=e.i(843476);function s(e){let s=e+"CollectionProvider",[a,l]=(0,r.createContextScope)(s),[c,d]=a(s,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,o.jsx)(c,{scope:r,itemMap:s,collectionRef:i,children:n})};u.displayName=s;let f=e+"CollectionSlot",p=(0,i.createSlot)(f),h=t.default.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=d(f,r),a=(0,n.useComposedRefs)(t,s.collectionRef);return(0,o.jsx)(p,{ref:a,children:i})});h.displayName=f;let m=e+"CollectionItemSlot",x="data-radix-collection-item",v=(0,i.createSlot)(m),g=t.default.forwardRef((e,r)=>{let{scope:i,children:s,...a}=e,l=t.default.useRef(null),c=(0,n.useComposedRefs)(r,l),u=d(m,i);return t.default.useEffect(()=>(u.itemMap.set(l,{ref:l,...a}),()=>void u.itemMap.delete(l))),(0,o.jsx)(v,{...{[x]:""},ref:c,children:s})});return g.displayName=m,[{Provider:u,Slot:h,ItemSlot:g},function(r){let n=d(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${x}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},l]}var a=new WeakMap;function l(e,t){var r,n;let i,o,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(r=e,n=t,i=r.length,(s=(o=c(n))>=0?o:i+o)<0||s>=i?-1:s);return -1===a?void 0:e[a]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],a.set(this,!0)}set(e,t){return a.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,s=c(e),a=s>=0?s:o+s,l=a<0||a>=o?-1:a;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let d=this.size+ +!i;s<0&&a++;let u=[...this.#e],f=!1;for(let e=a;e<d;e++)if(a===e){let o=u[e];u[e]===t&&(o=u[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{f||u[e-1]!==t||(f=!0);let r=u[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
2n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>s])},687607,e=>{"use strict";var t=e.i(271645),r=e.i(981140),n=e.i(30030),i=e.i(369340),o=e.i(934620),s=e.i(820783),a=e.i(248425),l=e.i(296626),c=e.i(610772),d=e.i(843476),u="Collapsible",[f,p]=(0,n.createContextScope)(u),[h,m]=f(u),x=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,open:o,defaultOpen:s,disabled:l,onOpenChange:f,...p}=e,[m,x]=(0,i.useControllableState)({prop:o,defaultProp:s??!1,onChange:f,caller:u});return(0,d.jsx)(h,{scope:n,disabled:l,contentId:(0,c.useId)(),open:m,onOpenToggle:t.useCallback(()=>x(e=>!e),[x]),children:(0,d.jsx)(a.Primitive.div,{"data-state":j(m),"data-disabled":l?"":void 0,...p,ref:r})})});x.displayName=u;var v="CollapsibleTrigger",g=t.forwardRef((e,t)=>{let{__scopeCollapsible:n,...i}=e,o=m(v,n);return(0,d.jsx)(a.Primitive.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":j(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...i,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,o.onOpenToggle)})});g.displayName=v;var b="CollapsibleContent",y=t.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=m(b,e.__scopeCollapsible);return(0,d.jsx)(l.Presence,{present:r||i.open,children:({present:e})=>(0,d.jsx)(w,{...n,ref:t,present:e})})});y.displayName=b;var w=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,present:i,children:l,...c}=e,u=m(b,n),[f,p]=t.useState(i),h=t.useRef(null),x=(0,s.useComposedRefs)(r,h),v=t.useRef(0),g=v.current,y=t.useRef(0),w=y.current,C=u.open||f,R=t.useRef(C),N=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,o.useLayoutEffect)(()=>{let e=h.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,y.current=t.width,R.current||(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),p(i)}},[u.open,i]),(0,d.jsx)(a.Primitive.div,{"data-state":j(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!C,...c,ref:x,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:C&&l})});function j(e){return e?"open":"closed"}e.s(["CollapsibleContent",()=>y,"CollapsibleTrigger",()=>g,"Content",()=>y,"Root",()=>x,"Trigger",()=>g,"createCollapsibleScope",()=>p])},586318,e=>{"use strict";var t=e.i(271645),r=e.i(843476),n=t.createContext(void 0),i=e=>{let{dir:t,children:i}=e;return(0,r.jsx)(n.Provider,{value:t,children:i})};function o(e){let r=t.useContext(n);return e||r||"ltr"}e.s(["DirectionProvider",()=>i,"useDirection",()=>o])},758209,e=>{"use strict";let t=(0,e.i(933959).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>t],758209)},337010,e=>{"use strict";e.i(816374);var t=e.i(430253),r=e.i(737877),n=e.i(713548),i=e.i(14804),o=e.i(843476),s=e.i(689259),a=e.i(271645),l=e.i(30030),c=e.i(75830),d=e.i(820783),u=e.i(981140),f=e.i(369340),p=e.i(248425),h=e.i(687607),m=e.i(610772),x=e.i(586318),v="Accordion",g=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[b,y,w]=(0,c.createCollection)(v),[j,C]=(0,l.createContextScope)(v,[w,h.createCollapsibleScope]),R=(0,h.createCollapsibleScope)(),N=a.default.forwardRef((e,t)=>{let{type:r,...n}=e;return(0,o.jsx)(b.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,o.jsx)(E,{...n,ref:t}):(0,o.jsx)(I,{...n,ref:t})})});N.displayName=v;var[k,T]=j(v),[A,S]=j(v,{collapsible:!1}),I=a.default.forwardRef((e,t)=>
2{let{value:r,defaultValue:n,onValueChange:i=()=>{},collapsible:s=!1,...l}=e,[c,d]=(0,f.useControllableState)({prop:r,defaultProp:n??"",onChange:i,caller:v});return(0,o.jsx)(k,{scope:e.__scopeAccordion,value:a.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:d,onItemClose:a.default.useCallback(()=>s&&d(""),[s,d]),children:(0,o.jsx)(A,{scope:e.__scopeAccordion,collapsible:s,children:(0,o.jsx)(M,{...l,ref:t})})})}),E=a.default.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:i=()=>{},...s}=e,[l,c]=(0,f.useControllableState)({prop:r,defaultProp:n??[],onChange:i,caller:v}),d=a.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),u=a.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,o.jsx)(k,{scope:e.__scopeAccordion,value:l,onItemOpen:d,onItemClose:u,children:(0,o.jsx)(A,{scope:e.__scopeAccordion,collapsible:!0,children:(0,o.jsx)(M,{...s,ref:t})})})}),[D,P]=j(v),M=a.default.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:n,dir:i,orientation:s="vertical",...l}=e,c=a.default.useRef(null),f=(0,d.useComposedRefs)(c,t),h=y(r),m="ltr"===(0,x.useDirection)(i),v=(0,u.composeEventHandlers)(e.onKeyDown,e=>{if(!g.includes(e.key))return;let t=e.target,r=h().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let o=n,a=i-1,l=()=>{(o=n+1)>a&&(o=0)},c=()=>{(o=n-1)<0&&(o=a)};switch(e.key){case"Home":o=0;break;case"End":o=a;break;case"ArrowRight":"horizontal"===s&&(m?l():c());break;case"ArrowDown":"vertical"===s&&l();break;case"ArrowLeft":"horizontal"===s&&(m?c():l());break;case"ArrowUp":"vertical"===s&&c()}let d=o%i;r[d].ref.current?.focus()});return(0,o.jsx)(D,{scope:r,disabled:n,direction:i,orientation:s,children:(0,o.jsx)(b.Slot,{scope:r,children:(0,o.jsx)(p.Primitive.div,{...l,"data-orientation":s,ref:f,onKeyDown:n?void 0:v})})})}),F="AccordionItem",[O,z]=j(F),L=a.default.forwardRef((e,t)=>{let{__scopeAccordion:r,value:n,...i}=e,s=P(F,r),a=T(F,r),l=R(r),c=(0,m.useId)(),d=n&&a.value.includes(n)||!1,u=s.disabled||e.disabled;return(0,o.jsx)(O,{scope:r,open:d,disabled:u,triggerId:c,children:(0,o.jsx)(h.Root,{"data-orientation":s.orientation,"data-state":U(d),...l,...i,ref:t,disabled:u,open:d,onOpenChange:e=>{e?a.onItemOpen(n):a.onItemClose(n)}})})});L.displayName=F;var _="AccordionHeader",H=a.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=P(v,r),s=z(_,r);return(0,o.jsx)(p.Primitive.h3,{"data-orientation":i.orientation,"data-state":U(s.open),"data-disabled":s.disabled?"":void 0,...n,ref:t})});H.displayName=_;var K="AccordionTrigger",$=a.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=P(v,r),s=z(K,r),a=S(K,r),l=R(r);return(0,o.jsx)(b.ItemSlot,{scope:r,children:(0,o.jsx)(h.Trigger,{"aria-disabled":s.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:s.triggerId,...l,...n,ref:t})})});$.displayName=K;var B="AccordionContent",V=a.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,i=P(v,r),s=z(B,r),a=R(r);return(0,o.jsx)(h.Content,{role:"region","aria-labelledby":s.triggerId,"data-orientation":i.orientation,...a,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function U(e){return e?"open":"closed"}function q({className:e,...r}){return(0,o.jsx)(N,{className:(0,t.cn)("divide-y divide-fd-border overflow-hidden rounded-lg border bg-fd-card",e),...r})}function G({className:e,children:r,...n}){return(0,o.jsx)(L,{className:(0,t.cn)("scroll-m-24",e),...n,children:r})}function W({className:e,children:r,...n}){return(0,o.jsx)(H,{className:(0,t.cn)("not-prose flex flex-row items-center text-fd-card-foreground font-medium has-focus-visible:bg-fd-accent",e),...n,children:r})}function Y({className:e,children:r,...n}){return(0,o.jsxs)($,{className:(0,t.cn)("group flex flex-1 items-center gap-2 px-3 py-2.5 text-start focus-visible:outline-none",e),...n,children:[(0,o.jsx)(s.ChevronRight,{className:"size-4 shrink-0 text-fd-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-90"}),r]})}function J({className:e,children:r,...n}){return(0,o.jsx)(V,{className:(0,t.cn)("overflow-hidden data-[state=closed]:animate-fd-accordion-up data-[state=open]:animate-fd-accordion-down",e),...n,children:r})}V.displayName=B;var Q=e.i(758209);let X=(0,e.i(933959).default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);function Z({type:e="single",ref:r,className:n,defaultValue:s,...l}){let c=(0,a.useRef)(null),d=(0,i.mergeRefs)(r,c),[u,f]=(0,a.useState)(()=>"single"===e?s??"":s??[]);return(0,a.useEffect)(()=>{let e=window.location.hash.substring(1),t=c.current;if(!t||0===e.length)return;let r=document.getElementById(e);if(!r||!t.contains(r))return;let n=r.getAttribute("data-accordion-value");n&&f(e=>"string"==typeof e?n:[n,...e])},[]),(0,o.jsx)(q,{type:e,ref:d,value:u,onValueChange:f,collapsible:"single"===e||void 0,className:(0,t.cn)("divide-y divide-fd-border overflow-hidden rounded-lg border bg-fd-card",
2n),...l})}function ee({title:e,id:t,value:r=String(e),children:n,...i}){return(0,o.jsxs)(G,{value:r,...i,children:[(0,o.jsxs)(W,{id:t,"data-accordion-value":r,children:[(0,o.jsx)(Y,{children:e}),t?(0,o.jsx)(et,{id:t}):null]}),(0,o.jsx)(J,{children:(0,o.jsx)("div",{className:"px-4 pb-2 text-[0.9375rem] prose-no-margin",children:n})})]})}function et({id:e}){let[i,s]=(0,r.useCopyButton)(()=>{let t=new URL(window.location.href);return t.hash=e,navigator.clipboard.writeText(t.toString())});return(0,o.jsx)("button",{type:"button","aria-label":"Copy Link",className:(0,t.cn)((0,n.buttonVariants)({color:"ghost",className:"text-fd-muted-foreground me-2"})),onClick:s,children:i?(0,o.jsx)(Q.Check,{className:"size-3.5"}):(0,o.jsx)(X,{className:"size-3.5"})})}e.s(["Accordion",()=>ee,"Accordions",()=>Z],337010)},825153,e=>{"use strict";var t=e.i(14804),r=e.i(271645),n=e.i(843476),i=e.i(981140),o=e.i(30030),s=e.i(75830),a=e.i(820783),l=e.i(610772),c=e.i(248425),d=e.i(30207),u=e.i(369340),f=e.i(586318),p="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[x,v,g]=(0,s.createCollection)(m),[b,y]=(0,o.createContextScope)(m,[g]),[w,j]=b(m),C=r.forwardRef((e,t)=>(0,n.jsx)(x.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(x.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(R,{...e,ref:t})})}));C.displayName=m;var R=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:o,orientation:s,loop:l=!1,dir:x,currentTabStopId:g,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:y,onEntryFocus:j,preventScrollOnEntryFocus:C=!1,...R}=e,N=r.useRef(null),k=(0,a.useComposedRefs)(t,N),T=(0,f.useDirection)(x),[S,I]=(0,u.useControllableState)({prop:g,defaultProp:b??null,onChange:y,caller:m}),[E,D]=r.useState(!1),P=(0,d.useCallbackRef)(j),M=v(o),F=r.useRef(!1),[O,z]=r.useState(0);return r.useEffect(()=>{let e=N.current;if(e)return e.addEventListener(p,P),()=>e.removeEventListener(p,P)},[P]),(0,n.jsx)(w,{scope:o,orientation:s,dir:T,loop:l,currentTabStopId:S,onItemFocus:r.useCallback(e=>I(e),[I]),onItemShiftTab:r.useCallback(()=>D(!0),[]),onFocusableItemAdd:r.useCallback(()=>z(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>z(e=>e-1),[]),children:(0,n.jsx)(c.Primitive.div,{tabIndex:E||0===O?-1:0,"data-orientation":s,...R,ref:k,style:{outline:"none",...e.style},onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,()=>{F.current=!0}),onFocus:(0,i.composeEventHandlers)(e.onFocus,e=>{let t=!F.current;if(e.target===e.currentTarget&&t&&!E){let t=new CustomEvent(p,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=M().filter(e=>e.focusable);A([e.find(e=>e.active),e.find(e=>e.id===S),...e].filter(Boolean).map(e=>e.ref.current),C)}}F.current=!1}),onBlur:(0,i.composeEventHandlers)(e.onBlur,()=>D(!1))})})}),N="RovingFocusGroupItem",k=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:o,focusable:s=!0,active:a=!1,tabStopId:d,children:u,...f}=e,p=(0,l.useId)(),h=d||p,m=j(N,o),g=m.currentTabStopId===h,b=v(o),{onFocusableItemAdd:y,onFocusableItemRemove:w,currentTabStopId:C}=m;return r.useEffect(()=>{if(s)return y(),()=>w()},[s,y,w]),(0,n.jsx)(x.ItemSlot,{scope:o,id:h,focusable:s,active:a,children:(0,n.jsx)(c.Primitive.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...f,ref:t,onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,e=>{s?m.onItemFocus(h):e.preventDefault()}),onFocus:(0,i.composeEventHandlers)(e.onFocus,()=>m.onItemFocus(h)),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return T[i]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let o=i.indexOf(e.currentTarget);i=m.loop?(r=i,n=o+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(o+1)}setTimeout(()=>A(i))}}),children:"function"==typeof u?u({isCurrentTabStop:g,hasTabStop:null!=C}):u})})});k.displayName=N;var T={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function A(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}
2var S=e.i(296626),I="Tabs",[E,D]=(0,o.createContextScope)(I,[y]),P=y(),[M,F]=E(I),O=r.forwardRef((e,t)=>{let{__scopeTabs:r,value:i,onValueChange:o,defaultValue:s,orientation:a="horizontal",dir:d,activationMode:p="automatic",...h}=e,m=(0,f.useDirection)(d),[x,v]=(0,u.useControllableState)({prop:i,onChange:o,defaultProp:s??"",caller:I});return(0,n.jsx)(M,{scope:r,baseId:(0,l.useId)(),value:x,onValueChange:v,orientation:a,dir:m,activationMode:p,children:(0,n.jsx)(c.Primitive.div,{dir:m,"data-orientation":a,...h,ref:t})})});O.displayName=I;var z="TabsList",L=r.forwardRef((e,t)=>{let{__scopeTabs:r,loop:i=!0,...o}=e,s=F(z,r),a=P(r);return(0,n.jsx)(C,{asChild:!0,...a,orientation:s.orientation,dir:s.dir,loop:i,children:(0,n.jsx)(c.Primitive.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});L.displayName=z;var _="TabsTrigger",H=r.forwardRef((e,t)=>{let{__scopeTabs:r,value:o,disabled:s=!1,...a}=e,l=F(_,r),d=P(r),u=B(l.baseId,o),f=V(l.baseId,o),p=o===l.value;return(0,n.jsx)(k,{asChild:!0,...d,focusable:!s,active:p,children:(0,n.jsx)(c.Primitive.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":f,"data-state":p?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:u,...a,ref:t,onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():l.onValueChange(o)}),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&l.onValueChange(o)}),onFocus:(0,i.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==l.activationMode;p||s||!e||l.onValueChange(o)})})})});H.displayName=_;var K="TabsContent",$=r.forwardRef((e,t)=>{let{__scopeTabs:i,value:o,forceMount:s,children:a,...l}=e,d=F(K,i),u=B(d.baseId,o),f=V(d.baseId,o),p=o===d.value,h=r.useRef(p);return r.useEffect(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,n.jsx)(S.Presence,{present:s||p,children:({present:r})=>(0,n.jsx)(c.Primitive.div,{"data-state":p?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":u,hidden:!r,id:f,tabIndex:0,...l,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:r&&a})})});function B(e,t){return`${e}-trigger-${t}`}function V(e,t){return`${e}-content-${t}`}$.displayName=K;let U=new Map,q=(0,r.createContext)(null);function G({ref:e,groupId:i,persist:o=!1,updateAnchor:s=!1,defaultValue:a,value:l,onValueChange:c,...d}){let u=(0,r.useRef)(null),f=(0,r.useMemo)(()=>new Map,[]),[p,h]=void 0===l?(0,r.useState)(a):[l,(0,r.useEffectEvent)(e=>c?.(e))];return(0,r.useLayoutEffect)(()=>{if(!i)return;let e=sessionStorage.getItem(i);o&&(e??=localStorage.getItem(i)),e&&h(e);let t=U.get(i)??new Set;return t.add(h),U.set(i,t),()=>{t.delete(h)}},[i,o,h]),(0,r.useLayoutEffect)(()=>{let e=window.location.hash.slice(1);if(e){for(let[t,r]of f.entries())if(r===e){h(t),u.current?.scrollIntoView();break}}},[h,f]),(0,n.jsx)(O,{ref:(0,t.mergeRefs)(e,u),value:p,onValueChange:e=>{if(s){let t=f.get(e);t&&window.history.replaceState(null,"",`#${t}`)}if(i){let t=U.get(i);if(t)for(let r of t)r(e);sessionStorage.setItem(i,e),o&&localStorage.setItem(i,e)}else h(e)},...d,children:(0,n.jsx)(q,{value:(0,r.useMemo)(()=>({valueToIdMap:f}),[f]),children:d.children})})}function W({value:e,...t}){let{valueToIdMap:i}=function(){let e=(0,r.use)(q);if(!e)throw Error("You must wrap your component in <Tabs>");return e}();return t.id&&i.set(e,t.id),(0,n.jsx)($,{value:e,...t,children:t.children})}e.s(["Tabs",()=>G,"TabsContent",()=>W,"TabsList",()=>L,"TabsTrigger",()=>H],825153)},213758,e=>{"use strict";e.i(816374);var t=e.i(430253),r=e.i(825153),n=e.i(271645),i=e.i(843476);let o=(0,n.createContext)(null);function s(){let e=(0,n.useContext)(o);if(!e)throw Error("You must wrap your component in <Tabs>");return e}let a=n.forwardRef((e,n)=>(0,i.jsx)(r.TabsList,{ref:n,...e,className:(0,t.cn)("flex gap-3.5 text-fd-secondary-foreground overflow-x-auto px-4 not-prose",e.className)}));a.displayName="TabsList";let l=n.forwardRef((e,n)=>(0,i.jsx)(r.TabsTrigger,{ref:n,...e,className:(0,t.cn)("inline-flex items-center gap-2 whitespace-nowrap text-fd-muted-foreground border-b border-transparent py-2 text-sm font-medium transition-colors [&_svg]:size-4 hover:text-fd-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-fd-primary data-[state=active]:text-fd-primary",e.className)}));function c({ref:e,className:s,items:c,label:d,defaultIndex:u=0,defaultValue:p=c?f(c[u]):void 0,...h}
2){let[m,x]=(0,n.useState)(p),v=(0,n.useMemo)(()=>[],[]);return(0,i.jsxs)(r.Tabs,{ref:e,className:(0,t.cn)("flex flex-col overflow-hidden rounded-xl border bg-fd-secondary my-4",s),value:m,onValueChange:e=>{(!c||c.some(t=>f(t)===e))&&x(e)},...h,children:[c&&(0,i.jsxs)(a,{children:[d&&(0,i.jsx)("span",{className:"text-sm font-medium my-auto me-auto",children:d}),c.map(e=>(0,i.jsx)(l,{value:f(e),children:e},e))]}),(0,i.jsx)(o.Provider,{value:(0,n.useMemo)(()=>({items:c,collection:v}),[v,c]),children:h.children})]})}function d({value:e,...t}){let{items:r}=s(),o=e??r?.at(function(){let e=(0,n.useId)(),{collection:t}=s();return(0,n.useEffect)(()=>()=>{let r=t.indexOf(e);-1!==r&&t.splice(r,1)},[e,t]),t.includes(e)||t.push(e),t.indexOf(e)}());if(!o)throw Error("Failed to resolve tab `value`, please pass a `value` prop to the Tab component.");return(0,i.jsx)(u,{value:f(o),...t,children:t.children})}function u({value:e,className:n,...o}){return(0,i.jsx)(r.TabsContent,{value:e,forceMount:!0,className:(0,t.cn)("p-4 text-[0.9375rem] bg-fd-background rounded-xl outline-none prose-no-margin data-[state=inactive]:hidden [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none",n),...o,children:o.children})}function f(e){return e.toLowerCase().replace(/\s/,"-")}l.displayName="TabsTrigger",e.s(["Tab",()=>d,"Tabs",()=>c,"TabsContent",()=>u,"TabsList",()=>a,"TabsTrigger",()=>l])},647873,e=>{"use strict";var t=e.i(224110),r=e.i(271645),n=e.i(843476);let i=(0,r.forwardRef)(({href:e="#",external:r=e.match(/^\w+:/)||e.startsWith("//"),prefetch:i,children:o,...s},a)=>r?(0,n.jsx)("a",{ref:a,href:e,rel:"noreferrer noopener",target:"_blank",...s,children:o}):(0,n.jsx)(t.Link,{ref:a,href:e,prefetch:i,...s,children:o}));i.displayName="Link",e.s(["default",()=>i])},451988,676736,e=>{"use strict";e.i(816374);var t=e.i(430253),r=e.i(271645),n=e.i(843476),i=e.i(687607);let o=i.Root,s=i.CollapsibleTrigger,a=(0,r.forwardRef)(({children:e,...o},s)=>{let[a,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>
2{l(!0)},[]),(0,n.jsx)(i.CollapsibleContent,{ref:s,...o,className:(0,t.cn)("overflow-hidden",a&&"data-[state=closed]:animate-fd-collapsible-up data-[state=open]:animate-fd-collapsible-down",o.className),children:e})});a.displayName=i.CollapsibleContent.displayName,e.s(["Collapsible",()=>o,"CollapsibleContent",()=>a,"CollapsibleTrigger",()=>s],451988);let l=(0,e.i(933959).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",()=>l],676736)},957954,e=>{"use strict";e.i(816374);var t=e.i(430253),r=e.i(451988),n=e.i(271645),i=e.i(843476),o=e.i(647873),s=e.i(676736);let a=(0,e.i(225913).cva)("text-fd-muted-foreground not-prose pe-2");function l({id:e,type:r,className:n,...o}){return(0,i.jsxs)("div",{id:e,className:(0,t.cn)("@container flex flex-col p-1 bg-fd-card text-fd-card-foreground rounded-2xl border my-6 text-sm overflow-hidden",n),...o,children:[(0,i.jsxs)("div",{className:"flex font-medium items-center px-3 py-1 not-prose text-fd-muted-foreground",children:[(0,i.jsx)("p",{className:"w-1/4",children:"Prop"}),(0,i.jsx)("p",{className:"@max-xl:hidden",children:"Type"})]}),Object.entries(r).map(([t,r])=>(0,i.jsx)(c,{parentId:e,name:t,item:r},t))]})}function c({parentId:e,name:l,item:{parameters:c=[],description:d,required:u=!1,deprecated:f,typeDescription:p,default:h,type:m,typeDescriptionLink:x,returns:v}}){let[g,b]=(0,n.useState)(!1),y=e?`${e}-${l}`:void 0;return(0,n.useEffect)(()=>{let e=window.location.hash;y&&e&&`#${y}`===e&&b(!0)},[y]),(0,i.jsxs)(r.Collapsible,{id:y,open:g,onOpenChange:e=>{e&&y&&window.history.replaceState(null,"",`#${y}`),b(e)},className:(0,t.cn)("rounded-xl border overflow-hidden scroll-m-2
20 transition-all",g?"shadow-sm bg-fd-background not-last:mb-2":"border-transparent"),children:[(0,i.jsxs)(r.CollapsibleTrigger,{className:"relative flex flex-row items-center w-full group text-start px-3 py-2 not-prose hover:bg-fd-accent",children:[(0,i.jsxs)("code",{className:(0,t.cn)("text-fd-primary min-w-fit w-1/4 font-mono font-medium pe-2",f&&"line-through text-fd-primary/50"),children:[l,!u&&"?"]}),x?(0,i.jsx)(o.default,{href:x,className:"underline @max-xl:hidden",children:m}):(0,i.jsx)("span",{className:"@max-xl:hidden",children:m}),(0,i.jsx)(s.ChevronDown,{className:"absolute end-2 size-4 text-fd-muted-foreground transition-transform group-data-[state=open]:rotate-180"})]}),(0,i.jsx)(r.CollapsibleContent,{children:(0,i.jsxs)("div",{className:"grid grid-cols-[1fr_3fr] gap-y-4 text-sm p-3 overflow-auto fd-scroll-container border-t",children:[(0,i.jsx)("div",{className:"text-sm prose col-span-full prose-no-margin empty:hidden",children:d}),p&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,t.cn)(a()),children:"Type"}),(0,i.jsx)("p",{className:"my-auto not-prose",children:p})]}),h&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,t.cn)(a()),children:"Default"}),(0,i.jsx)("p",{className:"my-auto not-prose",children:h})]}),c.length>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,t.cn)(a()),children:"Parameters"}),(0,i.jsx)("div",{className:"flex flex-col gap-2",children:c.map(e=>(0,i.jsxs)("div",{className:"inline-flex items-center flex-wrap gap-1",children:[(0,i.jsxs)("p",{className:"font-medium not-prose text-nowrap",children:[e.name," -"]}),(0,i.jsx)("div",{className:"text-sm prose prose-no-margin",children:e.description})]},e.name))})]}),v&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,t.cn)(a()),children:"Returns"}),(0,i.jsx)("div",{className:"my-auto text-sm prose prose-no-margin",children:v})]})]})})]})}e.s(["TypeTable",()=>l])}]); 3 4//# debugId=4f3cefa7-24fa-6f03-acf0-d3bcd8727897 5//# sourceMappingURL=67baff1e7776b51c.js.map
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.