PageSourceSearch

https://learn.mattr.global/_next/static/chunks/0i88-knlbwurz.js

js mattr.global collected 2026-09-24 17:17:45 UTC 51,578 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),o=e.i(991918),i=e.i(843476),a=Object.defineProperty,s=(e,t)=>a(e,"name",{value:t,configurable:!0});function l(e){let a=e+"CollectionProvider",[l,c]=(0,r.createContextScope)(a),[u,d]=l(a,{collectionRef:{current:null},itemMap:new Map}),f=s(e=>{let{scope:r,children:n}=e,o=t.useRef(null),a=t.useRef(new Map).current;return(0,i.jsx)(u,{scope:r,itemMap:a,collectionRef:o,children:n})},"CollectionProvider");f.displayName=a;let p=e+"CollectionSlot",h=(0,o.createSlot)(p),m=t.forwardRef((e,t)=>{let{scope:r,children:o}=e,a=d(p,r),s=(0,n.useComposedRefs)(t,a.collectionRef);return(0,i.jsx)(h,{ref:s,children:o})});m.displayName=p;let v=e+"CollectionItemSlot",g="data-radix-collection-item",x=(0,o.createSlot)(v),b=t.forwardRef((e,r)=>{let{scope:o,children:a,...s}=e,l=t.useRef(null),c=(0,n.useComposedRefs)(r,l),u=d(v,o);return t.useEffect(()=>(u.itemMap.set(l,{ref:l,...s}),()=>void u.itemMap.delete(l))),(0,i.jsx)(x,{...{[g]:""},ref:c,children:a})});function w(r){let n=d(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])}return b.displayName=v,s(w,"useCollection"),[{Provider:f,Slot:m,ItemSlot:b},w,c]}s(l,"createCollection");var c=new WeakMap,u=class e extends Map{static{s(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],c.set(this,!0)}set(e,t){return c.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,o=this.has(t),i=this.#e.length,a=p(e),s=a>=0?a:i+a,l=s<0||s>=i?-1:s;if(l===this.size||o&&l===this.size-1||-1===l)return this.set(t,r),this;let c=this.size+ +!o;a<0&&s++;let u=[...this.#e],d=!1;for(let e=s;e<c;e++)if(s===e){let i=u[e];u[e]===t&&(i=u[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{d||u[e-1]!==t||(d=!0);let r=u[d?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}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=d(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=d(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return d(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=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(...e){let[t,r]=e,n=0,o=r??this.at(0);for(let r of this)o=0===n&&1===e.length?r:Reflect.apply(t,this,[o,r,n,this]),n++;return o}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let o=this.at(r);n=r===this.size-1&&1===e.length?o:Reflect.apply(t,this,[n,o,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,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;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}};function d(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=f(e,t);return -1===r?void 0:e[r]}function f(e,t){let r=e.length,n=p(t),o=n>=0?n:r+n;return o<0||o>=r?-1:o}function p(e){return e!=e||0===e?0:Math.trunc(e)}function h(e,t){if(e===t)return!0;
1if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function m(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function v(e,t){return e[1].element&&t[1].element?m(e[1].element,t[1].element)?-1:1:0}function g(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}s(d,"at"),s(f,"toSafeIndex"),s(p,"toSafeInteger"),s(function(e){let a=e+"CollectionProvider",[l,c]=(0,r.createContextScope)(a),[d,f]=l(a,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new u,setItemMap:s(()=>void 0,"setItemMap")}),p=s(({state:e,...t})=>e?(0,i.jsx)(x,{...t,state:e}):(0,i.jsx)(m,{...t}),"CollectionProvider");p.displayName=a;let m=s(e=>{let t=P();return(0,i.jsx)(x,{...e,state:t})},"CollectionInit");m.displayName=a+"Init";let x=s(e=>{let{scope:r,children:o,state:a}=e,s=t.useRef(null),[l,c]=t.useState(null),u=(0,n.useComposedRefs)(s,c),[f,p]=a;return t.useEffect(()=>{if(!l)return;let e=g(()=>{});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l]),(0,i.jsx)(d,{scope:r,itemMap:f,setItemMap:p,collectionRef:u,collectionRefObject:s,collectionElement:l,children:o})},"CollectionProviderImpl");x.displayName=a+"Impl";let b=e+"CollectionSlot",w=(0,o.createSlot)(b),y=t.forwardRef((e,t)=>{let{scope:r,children:o}=e,a=f(b,r),s=(0,n.useComposedRefs)(t,a.collectionRef);return(0,i.jsx)(w,{ref:s,children:o})});y.displayName=b;let j=e+"CollectionItemSlot",C=(0,o.createSlot)(j),R=t.forwardRef((e,r)=>{let{scope:o,children:a,...s}=e,l=t.useRef(null),[c,d]=t.useState(null),p=(0,n.useComposedRefs)(r,l,d),{setItemMap:m}=f(j,o),g=t.useRef(s);h(g.current,s)||(g.current=s);let x=g.current;return t.useEffect(()=>(m(e=>c?e.has(c)?e.set(c,{...x,element:c}).toSorted(v):(e.set(c,{...x,element:c}),e.toSorted(v)):e),()=>{m(e=>c&&e.has(c)?(e.delete(c),new u(e)):e)}),[c,x,m]),(0,i.jsx)(C,{"data-radix-collection-item":"",ref:p,children:a})});function P(){return t.useState(new u)}function k(t){let{itemMap:r}=f(e+"CollectionConsumer",t);return r}return R.displayName=j,s(P,"useInitCollection"),s(k,"useCollection"),[{Provider:p,Slot:y,ItemSlot:R},{createCollectionScope:c,useCollection:k,useInitCollection:P}]},"createCollection"),s(h,"shallowEqual"),s(m,"isElementPreceding"),s(v,"sortByDocumentPosition"),s(g,"getChildListObserver"),e.s(["createCollection",0,l])},853660,e=>{"use strict";var t=e.i(271645),r=e.i(258950),n=e.i(953760),o=e.i(248425),i=e.i(843476),a=Object.defineProperty,s=t.forwardRef(a(function(e,t){let{children:r,width:n=10,height:a=5,...s}=e;return(0,i.jsx)(o.Primitive.svg,{...s,ref:t,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,i.jsx)("polygon",{points:"0,0 30,0 15,10"})})},"name",{value:"Arrow",configurable:!0})),l=e.i(820783),c=e.i(30030),u=e.i(30207),d=e.i(934620);function f(e){let[r,n]=t.useState(void 0);return(0,d.useLayoutEffect)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),r}(0,Object.defineProperty)(f,"name",{value:"useSize",configurable:!0});var p=Object.defineProperty,h=(e,t)=>p(e,"name",{value:t,configurable:!0}),m="Popper",[v,g]=(0,c.createContextScope)(m),[x,b]=v(m),w=h(e=>{let{__scopePopper:r,children:n}=e,[o,a]=t.useState(null),[s,l]=t.useState(void 0);return(0,i.jsx)(x,{scope:r,anchor:o,onAnchorChange:a,placementState:s,setPlacementState:l,children:n})},"Popper"),y=t.forwardRef(h(function(e,r){let{__scopePopper:n,virtualRef:a,...s}=e,c=b("PopperAnchor",n),u=t.useRef(null),d=c.onAnchorChange,f=t.useCallback(e=>{u.current=e,e&&d(e)},[d]),p=(0,l.useComposedRefs)(r,f),h=t.useRef(null);t.useEffect(()=>{if(!a)return;let e=h.current;h.current=a.current,e!==h.current&&d(h.current)});let m=c.placementState&&T(c.placementState),v=m?.[0],g=m?.[1];return a?null:(0,i.jsx)(o.Primitive.div,{"data-radix-popper-side":v,"data-radix-popper-align":g,...s,ref:p})},"PopperAnchor")),j="PopperContent",[C,R]=v(j),P=t.forwardRef(h(function(e,a){let{__scopePopper:s,side:c="bottom",sideOffset:p=0,align:m="center",alignOffset:v=0,arrowPadding:g=0,avoidCollisions:x=!0,collisionBoundary:w=[],collisionPadding:y=0,sticky:R="partial",hideWhenDetached:P=!1,updatePositionStrategy:k="optimized",onPlaced:N,...A}=e,M=b(j,s),[O,I]=t.useState(null),L=(0,l.useComposedRefs)(a,I),[D,z]=t.useState(null),F=f(D),_=F?.width??0,H=F?.height??0,$="number"==typeof y?y:{top:0,right:0,bottom:0,left:0,...y},V=Array.isArray(w)?w:[w],K=V.length>0,W={padding:$,boundary:V.filter(S),altBoundary:K},{refs:B,floatingStyles:U,placement:G,isPositioned:Y,middlewareData:q}=(0,r.useFloating)({strategy:"fixed",placement:c+("center"!==m?"-"+m:""),whileElementsMounted:h((...e)=>(0,n.autoUpdate)(...e,{animationFrame:"always"===k}),"whileElementsMounted"),elements:{reference:M.anchor},middleware:[(0,r.offset)({mainAxis:p+H,alignmentAxis:v}),x&&(0,r.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?(0,r.limitShift)():void 0,...W}),x&&(0,r.flip)({...W}),(0,r.size)({...W,apply:h(({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)},"apply")}),D&&(0,r.arrow)({element:D,padding:g}),E({arrowWidth:_,arrowHeight:H}),P&&(0,r.hide)({strategy:"referenceHidden",...W,boundary:K?W.boundary:void 0})]}),X=M.setPlacementState;(0,d.useLayoutEffect)(()=>(X(G),()=>{X(void 0)}),[G,X]);let[Z,J]=T(G),Q=(0,u.useCallbackRef)(N);(0,d.useLayoutEffect)(()=>{Y&&Q?.()},[Y,Q]);let ee=q.arrow?.x,et=q.arrow?.y,er=q.arrow?.centerOffset!==0,[en,eo]=t.useState();return(0,d.useLayoutEffect)(()=>{O&&eo(window.getComputedStyle(O).zIndex)},[O]),(0,i.jsx)("div",{ref:B.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:Y?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:en,"--radix-popper-transform-origin":[q.transformOrigin?.x,q.transformOrigin?.y].join(" "),...q.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,i.jsx)(C,{scope:s,placedSide:Z,placedAlign:J,onArrowChange:z,arrowX:ee,arrowY:et,shouldHideArrow:er,children:(0,i.jsx)(o.Primitive.div,{"data-side":Z,"data-align":J,...A,ref:L,style:{...A.
1style,animation:Y?A.style?.animation:"none"}})})})},"PopperContent")),k={top:"bottom",right:"left",bottom:"top",left:"right"},N=t.forwardRef(h(function(e,t){let{__scopePopper:r,...n}=e,o=R("PopperArrow",r),a=k[o.placedSide];return(0,i.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,i.jsx)(s,{...n,ref:t,style:{...n.style,display:"block"}})})},"PopperArrow"));function S(e){return null!==e}h(S,"isNotNull");var E=h(e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,s=i?0:e.arrowHeight,[l,c]=T(r),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+s/2,p="",h="";return"bottom"===l?(p=i?u:`${d}px`,h=`${-s}px`):"top"===l?(p=i?u:`${d}px`,h=`${n.floating.height+s}px`):"right"===l?(p=`${-s}px`,h=i?u:`${f}px`):"left"===l&&(p=`${n.floating.width+s}px`,h=i?u:`${f}px`),{data:{x:p,y:h}}}}),"transformOrigin");function T(e){let[t,r="center"]=e.split("-");return[t,r]}h(T,"getSideAndAlignFromPlacement"),e.s(["Anchor",0,y,"Arrow",0,N,"Content",0,P,"Root",0,w,"createPopperScope",0,g],853660)},959411,e=>{"use strict";var t=e.i(271645),r=e.i(248425),n=e.i(843476),o=Object.defineProperty,i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=t.forwardRef(o(function(e,t){return(0,n.jsx)(r.Primitive.span,{...e,ref:t,style:{...i,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}));e.s(["Root",0,a])},647873,e=>{"use strict";var t=e.i(224110),r=e.i(843476);function n({ref:e,href:o="#",external:i=!!(o.match(/^\w+:/)||o.startsWith("//")),prefetch:a,children:s,...l}){return i?(0,r.jsx)("a",{ref:e,href:o,rel:"noreferrer noopener",target:"_blank",...l,children:s}):(0,r.jsx)(t.Link,{ref:e,href:o,prefetch:a,...l,children:s})}e.s(["Link",0,n,"default",0,n])},683512,e=>{"use strict";let t=Symbol("VisitBreak");e.s(["i",0,function(e,r,n){let o,i=e.$ref&&`${e.$ref.folder}/`;if(!i||!r.$ref||!n.$ref?.startsWith(i))return;let a=`${r.$ref.folder}/${n.$ref.slice(i.length)}`;return function(e,r){try{!function e(n,o){let i=r(n,o);switch(i){case"skip":return n;case"break":throw t;default:i&&(n=i)}if("index"in n&&n.index&&(n.index=e(n.index,n)),"fallback"in n&&n.fallback&&(n.fallback=e(n.fallback,n)),"children"in n)for(let t=0;t<n.children.length;t++)n.children[t]=e(n.children[t],n);return n}(e)}catch(r){if(r===t)return e;throw r}}(r,e=>{if("page"===e.type&&e.$ref===a)return o=e,"break"}),o},"r",0,function(e,t,r={}){let{includeSeparator:n=!0}=r;return function e(r){let o;for(let i of r){if(t(i)){let e=[];return o&&e.push(o),e.push(i),e}if("separator"===i.type&&n){o=i;continue}if("folder"===i.type){let r=i.index&&t(i.index)?[i.index]:e(i.children);if(r)return r.unshift(i),o&&r.unshift(o),r}}}(e)??null}])},281878,e=>{"use strict";var t=e.i(179862),r=e.i(843476),n=e.i(271645),o=e.i(981140),i=e.i(820783),a=e.i(30030),s=e.i(726330),l=e.i(303536),c=e.i(765491),u=e.i(610772),d=e.i(853660),f=e.i(774606),p=e.i(296626),h=e.i(248425),m=e.i(991918),v=e.i(369340),g=e.i(186312),x=e.i(985369),b=Object.defineProperty,w=(e,t)=>b(e,"name",{value:t,configurable:!0}),y="Popover",[j,C]=(0,a.createContextScope)(y,[d.createPopperScope]),R=(0,d.createPopperScope)(),[P,k]=j(y),N=w(e=>{let{__scopePopover:t,children:o,open:i,defaultOpen:a,onOpenChange:s,modal:l=!1}=e,c=R(t),f=n.useRef(null),[p,h]=n.useState(!1),[m,g]=(0,v.useControllableState)({prop:i,defaultProp:a??!1,onChange:s,caller:y});return(0,r.jsx)(d.Root,{...c,children:(0,r.jsx)(P,{scope:t,contentId:(0,u.useId)(),triggerRef:f,open:m,onOpenChange:g,onOpenToggle:n.useCallback(()=>g(e=>!e),[g]),hasCustomAnchor:p,onCustomAnchorAdd:n.useCallback(()=>h(!0),[]),onCustomAnchorRemove:n.useCallback(()=>h(!1),[]),modal:l,children:o})})},"Popover"),S=n.forwardRef(w(function(e,t){let{__scopePopover:n,...a}
1=e,s=k("PopoverTrigger",n),l=R(n),c=(0,i.useComposedRefs)(t,s.triggerRef),u=(0,r.jsx)(h.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":_(s.open),...a,ref:c,onClick:(0,o.composeEventHandlers)(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?u:(0,r.jsx)(d.Anchor,{asChild:!0,...l,children:u})},"PopoverTrigger")),E="PopoverPortal",[T,A]=j(E,{forceMount:void 0}),M=w(e=>{let{__scopePopover:t,forceMount:n,children:o,container:i}=e,a=k(E,t);return(0,r.jsx)(T,{scope:t,forceMount:n,children:(0,r.jsx)(p.Presence,{present:n||a.open,children:(0,r.jsx)(f.Portal,{asChild:!0,container:i,children:o})})})},"PopoverPortal"),O="PopoverContent",I=n.forwardRef(w(function(e,t){let n=A(O,e.__scopePopover),{forceMount:o=n.forceMount,...i}=e,a=k(O,e.__scopePopover);return(0,r.jsx)(p.Presence,{present:o||a.open,children:a.modal?(0,r.jsx)(D,{...i,ref:t}):(0,r.jsx)(z,{...i,ref:t})})},"PopoverContent")),L=(0,m.createSlot)("PopoverContent.RemoveScroll"),D=n.forwardRef(w(function(e,t){let a=k(O,e.__scopePopover),s=n.useRef(null),l=(0,i.useComposedRefs)(t,s),c=n.useRef(!1);return n.useEffect(()=>{let e=s.current;if(e)return(0,g.hideOthers)(e)},[]),(0,r.jsx)(x.RemoveScroll,{as:L,allowPinchZoom:!0,children:(0,r.jsx)(F,{...e,ref:l,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),c.current||a.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;c.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},"PopoverContentModal")),z=n.forwardRef(w(function(e,t){let o=k(O,e.__scopePopover),i=n.useRef(!1),a=n.useRef(!1);return(0,r.jsx)(F,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||o.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;o.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})},"PopoverContentNonModal")),F=n.forwardRef(w(function(e,t){let{__scopePopover:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:u,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:m,...v}=e,g=k(O,n),x=R(n);return(0,l.useFocusGuards)(),(0,r.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,r.jsx)(s.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:m,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:h,onDismiss:()=>g.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,r.jsx)(d.Content,{"data-state":_(g.open),role:"dialog",id:g.contentId,...x,...v,ref:t,style:{...v.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)"}})})})},"PopoverContentImpl"));function _(e){return e?"open":"closed"}w(_,"getState"),e.s(["Popover",0,N,"PopoverContent",0,function({className:e,align:n="center",sideOffset:o=4,...i}){return(0,r.jsx)(M,{children:(0,r.jsx)(I,{align:n,sideOffset:o,side:"bottom",className:(0,t.cn)("z-50 origin-(--radix-popover-content-transform-origin) overflow-y-auto max-h-(--radix-popover-content-available-height) min-w-[240px] max-w-[98vw] rounded-xl border bg-fd-popover/60 backdrop-blur-lg p-2 text-sm text-fd-popover-foreground shadow-lg focus-visible:outline-none data-[state=closed]:animate-fd-popover-out data-[state=open]:animate-fd-popover-in",e),...i})})},"PopoverTrigger",0,S],281878)},864345,e=>{"use strict";e.s(["HomeLayout",()=>eM,"useHomeLayout",()=>eT],864345);var t=e.i(874072),r=e.i(187302),n=e.i(179862),o=e.i(843476);function i(e){return(0,o.jsx)("main",{id:"nd-home-layout",...e,className:(0,n.cn)("flex flex-1 flex-col [--fd-layout-width:1400px]",e.className)})}var a=e.i(713548),s=e.i(411150),l=e.i(271645);e.i(174080);var c=e.i(30030),u=e.i(981140),d=e.i(248425),f=e.i(369340),p=e.i(820783),h=e.i(586318),m=e.i(296626),v=e.i(610772),g=e.i(75830),x=e.i(726330);function b(e){let t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(0,Object.defineProperty)(b,"name",{value:"usePrevious",configurable:!0});var w=e.i(934620),y=e.i(30207),j=e.i(959411),C=Object.defineProperty,R=(e,t)=>C(e,"name",{value:t,configurable:!0}),P="NavigationMenu",[k,N,S]=(0,g.createCollection)(P),[E,T,A]=(0,g.createCollection)(P),[M,O]=(0,c.createContextScope)(P,[S,A]),[I,L]=M(P),[D,z]=M(P),F=l.forwardRef(R(function(e,t){let{__scopeNavigationMenu:r,value:n,onValueChange:i,defaultValue:a,delayDuration:s=200,skipDelayDuration:c=300,orientation:u="horizontal",dir:m,...v}=e,[g,x]=l.useState(null),b=(0,p.useComposedRefs)(t,x),w=(0,h.useDirection)(m),y=l.useRef(0),j=l.useRef(0),C=l.useRef(0),[k,N]=l.useState(!0),[S,E]=(0,f.useControllableState)({prop:n,onChange:R(e=>{let t=c>
10;""!==e?(window.clearTimeout(C.current),t&&N(!1)):(window.clearTimeout(C.current),C.current=window.setTimeout(()=>N(!0),c)),i?.(e)},"onChange"),defaultProp:a??"",caller:P}),T=l.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>E(""),150)},[E]),A=l.useCallback(e=>{window.clearTimeout(j.current),E(e)},[E]),M=l.useCallback(e=>{S===e?window.clearTimeout(j.current):y.current=window.setTimeout(()=>{window.clearTimeout(j.current),E(e)},s)},[S,E,s]);return l.useEffect(()=>()=>{window.clearTimeout(y.current),window.clearTimeout(j.current),window.clearTimeout(C.current)},[]),(0,o.jsx)(_,{scope:r,isRootMenu:!0,value:S,dir:w,orientation:u,rootNavigationMenu:g,onTriggerEnter:e=>{window.clearTimeout(y.current),k?M(e):A(e)},onTriggerLeave:()=>{window.clearTimeout(y.current),T()},onContentEnter:()=>window.clearTimeout(j.current),onContentLeave:T,onItemSelect:e=>{E(t=>t===e?"":e)},onItemDismiss:()=>E(""),children:(0,o.jsx)(d.Primitive.nav,{"aria-label":"Main","data-orientation":u,dir:w,...v,ref:b})})},"NavigationMenu")),_=R(e=>{let{scope:t,isRootMenu:r,rootNavigationMenu:n,dir:i,orientation:a,children:s,value:c,onItemSelect:u,onItemDismiss:d,onTriggerEnter:f,onTriggerLeave:p,onContentEnter:h,onContentLeave:m}=e,[g,x]=l.useState(null),[w,j]=l.useState(new Map),[C,R]=l.useState(null);return(0,o.jsx)(I,{scope:t,isRootMenu:r,rootNavigationMenu:n,value:c,previousValue:b(c),baseId:(0,v.useId)(),dir:i,orientation:a,viewport:g,onViewportChange:x,indicatorTrack:C,onIndicatorTrackChange:R,onTriggerEnter:(0,y.useCallbackRef)(f),onTriggerLeave:(0,y.useCallbackRef)(p),onContentEnter:(0,y.useCallbackRef)(h),onContentLeave:(0,y.useCallbackRef)(m),onItemSelect:(0,y.useCallbackRef)(u),onItemDismiss:(0,y.useCallbackRef)(d),onViewportContentChange:l.useCallback((e,t)=>{j(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:l.useCallback(e=>{j(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,o.jsx)(k.Provider,{scope:t,children:(0,o.jsx)(D,{scope:t,items:w,children:s})})})},"NavigationMenuProvider"),H=l.forwardRef(R(function(e,t){let{__scopeNavigationMenu:r,...n}=e,i=L("NavigationMenuList",r),a=(0,o.jsx)(d.Primitive.ul,{"data-orientation":i.orientation,...n,ref:t});return(0,o.jsx)(d.Primitive.div,{style:{position:"relative"},ref:i.onIndicatorTrackChange,children:(0,o.jsx)(k.Slot,{scope:r,children:i.isRootMenu?(0,o.jsx)(en,{asChild:!0,children:a}):a})})},"NavigationMenuList")),[$,V]=M("NavigationMenuItem"),K=l.forwardRef(R(function(e,t){let{__scopeNavigationMenu:r,value:n,...i}=e,a=(0,v.useId)(),s=l.useRef(null),c=l.useRef(null),u=l.useRef(null),f=l.useRef(()=>{}),p=l.useRef(!1),h=l.useCallback((e="start")=>{if(s.current){f.current();let t=ea(s.current);t.length&&es("start"===e?t:t.reverse())}},[]),m=l.useCallback(()=>{if(s.current){let e=ea(s.current);e.length&&(f.current=el(e))}},[]);return(0,o.jsx)($,{scope:r,value:n||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:c,contentRef:s,focusProxyRef:u,wasEscapeCloseRef:p,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:m,onContentFocusOutside:m,children:(0,o.jsx)(d.Primitive.li,{...i,ref:t})})},"NavigationMenuItem")),W="NavigationMenuTrigger",B=l.forwardRef(R(function(e,t){let{__scopeNavigationMenu:r,disabled:n,...i}=e,a=L(W,e.__scopeNavigationMenu),s=V(W,e.__scopeNavigationMenu),c=l.useRef(null),f=(0,p.useComposedRefs)(c,s.triggerRef,t),h=ed(a.baseId,s.value),m=ef(a.baseId,s.value),v=l.useRef(!1),g=l.useRef(!1),x=s.value===a.value;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(k.ItemSlot,{scope:r,value:s.value,children:(0,o.jsx)(ei,{asChild:!0,children:(0,o.jsx)(d.Primitive.button,{id:h,disabled:n,"data-disabled":n?"":void 0,"data-state":eu(x),"aria-expanded":x,"aria-controls":x?m:void 0,...i,ref:f,onPointerEnter:(0,u.composeEventHandlers)(e.onPointerEnter,()=>{g.current=!1,s.wasEscapeCloseRef.current=!1}),onPointerMove:(0,u.composeEventHandlers)(e.onPointerMove,ep(()=>{n||g.current||s.wasEscapeCloseRef.current||v.current||(a.onTriggerEnter(s.value),v.current=!0)})),onPointerLeave:(0,u.composeEventHandlers)(e.onPointerLeave,ep(()=>{n||(a.onTriggerLeave(),v.current=!1)})),onClick:(0,u.composeEventHandlers)(e.onClick,()=>{a.onItemSelect(s.value),g.current=x}),onKeyDown:(0,u.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===a.dir?"ArrowLeft":"ArrowRight"}[a.orientation];x&&e.key===t&&(s.onEntryKeyDown(),e.preventDefault())})})})}),x&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(j.Root,{"aria-hidden":!0,tabIndex:0,ref:s.focusProxyRef,onFocus:e=>{let t=s.contentRef.current,r=e.relatedTarget,n=r===c.current,o=t?.contains(r);(n||!o)&&s.onFocusProxyEnter(n?"start":"end")}}),a.viewport&&(0,o.jsx)("span",{"aria-owns":m})]})]})},"NavigationMenuTrigger")),U="navigationMenu.linkSelect",G=l.forwardRef(R(function(e,t){let{__scopeNavigationMenu:r,active:n,onSelect:i,...a}=e;return(0,o.jsx)(ei,{asChild:!0,children:(0,o.jsx)(d.Primitive.a,{"data-active":n?"":void 0,"aria-current":n?"page":void 0,...a,ref:t,onClick:(0,u.composeEventHandlers)(e.onClick,e=>{let t=e.target,r=new CustomEvent(U,{bubbles:!0,cancelable:!0});if(t.addEventListener(U,e=>i?.(e),{once:!0}),(0,d.dispatchDiscreteCustomEvent)(t,r),!r.defaultPrevented&&!e.metaKey){let e=new CustomEvent(Z,{bubbles:!0,cancelable:!0});(0,d.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})},"NavigationMenuLink")),Y="NavigationMenuContent",q=l.forwardRef(R(function(e,t){let{forceMount:r,...n}=e,i=L(Y,e.__scopeNavigationMenu),a=V(Y,e.__scopeNavigationMenu),s=(0,p.useComposedRefs)(a.contentRef,t),l=a.value===i.value,c={value:a.value,triggerRef:a.triggerRef,focu
1sProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...n};return i.viewport?(0,o.jsx)(X,{forceMount:r,...c,ref:s}):(0,o.jsx)(m.Presence,{present:r||l,children:(0,o.jsx)(J,{"data-state":eu(l),...c,ref:s,onPointerEnter:(0,u.composeEventHandlers)(e.onPointerEnter,i.onContentEnter),onPointerLeave:(0,u.composeEventHandlers)(e.onPointerLeave,ep(i.onContentLeave)),style:{pointerEvents:!l&&i.isRootMenu?"none":void 0,...c.style}})})},"NavigationMenuContent")),X=l.forwardRef(R(function(e,t){let{onViewportContentChange:r,onViewportContentRemove:n}=L(Y,e.__scopeNavigationMenu);return(0,w.useLayoutEffect)(()=>{r(e.value,{ref:t,...e})},[e,t,r]),(0,w.useLayoutEffect)(()=>()=>n(e.value),[e.value,n]),null},"ViewportContentMounter")),Z="navigationMenu.rootContentDismiss",J=l.forwardRef(R(function(e,t){let{__scopeNavigationMenu:r,value:n,triggerRef:i,focusProxyRef:a,wasEscapeCloseRef:s,onRootContentClose:c,onContentFocusOutside:d,...f}=e,h=L(Y,r),m=l.useRef(null),v=(0,p.useComposedRefs)(m,t),g=ed(h.baseId,n),b=ef(h.baseId,n),w=N(r),y=l.useRef(null),{onItemDismiss:j}=h;l.useEffect(()=>{let e=m.current;if(h.isRootMenu&&e){let t=R(()=>{j(),c(),e.contains(document.activeElement)&&i.current?.focus()},"handleClose");return e.addEventListener(Z,t),()=>e.removeEventListener(Z,t)}},[h.isRootMenu,e.value,i,j,c]);let C=l.useMemo(()=>{let e=w().map(e=>e.value);"rtl"===h.dir&&e.reverse();let t=e.indexOf(h.value),r=e.indexOf(h.previousValue),o=n===h.value,i=r===e.indexOf(n);if(!o&&!i)return y.current;let a=(()=>{if(t!==r){if(o&&-1!==r)return t>r?"from-end":"from-start";if(i&&-1!==t)return t>r?"to-start":"to-end"}return null})();return y.current=a,a},[h.previousValue,h.value,h.dir,w,n]);return(0,o.jsx)(en,{asChild:!0,children:(0,o.jsx)(x.DismissableLayer,{id:b,"aria-labelledby":g,"data-motion":C,"data-orientation":h.orientation,...f,ref:v,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(Z,{bubbles:!0,cancelable:!0});m.current?.dispatchEvent(e)},onFocusOutside:(0,u.composeEventHandlers)(e.onFocusOutside,e=>{d();let t=e.target;h.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,u.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,r=w().some(e=>e.ref.current?.contains(t)),n=h.isRootMenu&&h.viewport?.contains(t);(r||n||!h.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,u.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ea(e.currentTarget),r=document.activeElement,n=t.findIndex(e=>e===r);es(e.shiftKey?t.slice(0,n).reverse():t.slice(n+1,t.length))?e.preventDefault():a.current?.focus()}}),onEscapeKeyDown:(0,u.composeEventHandlers)(e.onEscapeKeyDown,e=>{s.current=!0})})})},"NavigationMenuContentImpl")),Q="NavigationMenuViewport",ee=l.forwardRef(R(function(e,t){let{forceMount:r,...n}=e,i=!!L(Q,e.__scopeNavigationMenu).value;return(0,o.jsx)(m.Presence,{present:r||i,children:(0,o.jsx)(et,{...n,ref:t})})},"NavigationMenuViewport")),et=l.forwardRef(R(function(e,t){let{__scopeNavigationMenu:r,children:n,...i}=e,a=L(Q,r),s=(0,p.useComposedRefs)(t,a.onViewportChange),c=z(Y,e.__scopeNavigationMenu),[f,h]=l.useState(null),[v,g]=l.useState(null),x=f?f?.width+"px":void 0,b=f?f?.height+"px":void 0,w=!!a.value,y=w?a.value:a.previousValue,j=R(()=>{v&&h({width:v.offsetWidth,height:v.offsetHeight})},"handleSizeChange");return ec(v,j),(0,o.jsx)(d.Primitive.div,{"data-state":eu(w),"data-orientation":a.orientation,...i,ref:s,style:{pointerEvents:!w&&a.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":x,"--radix-navigation-menu-viewport-height":b,...i.style},onPointerEnter:(0,u.composeEventHandlers)(e.onPointerEnter,a.onContentEnter),onPointerLeave:(0,u.composeEventHandlers)(e.onPointerLeave,ep(a.onContentLeave)),children:Array.from(c.items).map(([e,{ref:t,forceMount:r,...n}])=>{let i=y===e;return(0,o.jsx)(m.Presence,{present:r||i,children:(0,o.jsx)(er,{...n,contentRef:t,isActive:i,onActiveContentChange:g})},e)})})},"NavigationMenuViewportImpl")),er=R(({contentRef:e,isActive:t,onActiveContentChange:r,...n})=>{let i=l.useCallback(e=>{t&&e&&r(e)},[t,r]),a=(0,p.useComposedRefs)(e,i);return(0,o.jsx)(J,{...n,ref:a})},"NavigationMenuViewportItem"),en=l.forwardRef(R(function(e,t){let{__scopeNavigationMenu:r,...n}=e,i=L("FocusGroup",r);return(0,o.jsx)(E.Provider,{scope:r,children:(0,o.jsx)(E.Slot,{scope:r,children:(0,o.jsx)(d.Primitive.div,{dir:i.dir,...n,ref:t})})})},"FocusGroup")),eo=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ei=l.forwardRef(R(function(e,t){let{__scopeNavigationMenu:r,...n}=e,i=T(r),a=L("FocusGroupItem",r);return(0,o.jsx)(E.ItemSlot,{scope:r,children:(0,o.jsx)(d.Primitive.button,{...n,ref:t,onKeyDown:(0,u.composeEventHandlers)(e.onKeyDown,e=>
1{if(["Home","End",...eo].includes(e.key)){let t=i().map(e=>e.ref.current);if(["rtl"===a.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eo.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>es(t)),e.preventDefault()}})})})},"FocusGroupItem"));function ea(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:R(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}function es(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function el(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}function ec(e,t){let r=(0,y.useCallbackRef)(t);(0,w.useLayoutEffect)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}function eu(e){return e?"open":"closed"}function ed(e,t){return`${e}-trigger-${t}`}function ef(e,t){return`${e}-content-${t}`}function ep(e){return t=>"mouse"===t.pointerType?e(t):void 0}function eh({className:e,children:t,...r}){return(0,o.jsx)(K,{className:(0,n.cn)("list-none",e),...r,children:t})}function em({className:e,children:t,...r}){return(0,o.jsx)(B,{className:(0,n.cn)("data-[state=open]:bg-fd-accent/50",e),...r,children:t})}function ev({className:e,...t}){return(0,o.jsx)(q,{className:(0,n.cn)("absolute inset-x-0 top-0 overflow-auto fd-scroll-container max-h-[80svh] data-[motion=from-end]:animate-fd-enterFromRight data-[motion=from-start]:animate-fd-enterFromLeft data-[motion=to-end]:animate-fd-exitToRight data-[motion=to-start]:animate-fd-exitToLeft",e),...t})}function eg({className:e,ref:t,...r}){return(0,o.jsx)("div",{ref:t,className:"flex w-full justify-center",children:(0,o.jsx)(ee,{...r,className:(0,n.cn)("relative h-(--radix-navigation-menu-viewport-height) w-full origin-[top_center] overflow-hidden transition-[width,height] duration-300 data-[state=closed]:animate-fd-nav-menu-out data-[state=open]:animate-fd-nav-menu-in",e)})})}R(ea,"getTabbableCandidates"),R(es,"focusFirst"),R(el,"removeFromTabOrder"),R(ec,"useResizeObserver"),R(eu,"getOpenState"),R(ed,"makeTriggerId"),R(ef,"makeContentId"),R(ep,"whenMouse");var ex=e.i(647873),eb=e.i(716327),ew=e.i(999092),ey=e.i(225913),ej=e.i(532257);let eC=(0,ey.cva)("[&_svg]:size-4",{variants:{variant:{main:"inline-flex items-center gap-1 p-2 text-fd-muted-foreground transition-colors hover:text-fd-accent-foreground data-[active=true]:text-fd-primary",button:(0,a.buttonVariants)({variant:"secondary",className:"gap-1.5"}),icon:(0,a.buttonVariants)({variant:"ghost",size:"icon"})}},defaultVariants:{variant:"main"}});function eR(e){let{navItems:t,menuItems:r,slots:i,props:{nav:s}}=eT(),l=(0,ej.useTranslations)({note:"mobile menu"});return s?.component?s.component:(0,o.jsxs)(ek,{transparentMode:s?.transparentMode,...e,children:[i.navTitle&&(0,o.jsx)(i.navTitle,{className:"inline-flex items-center gap-2.5 font-semibold"}),s?.children,(0,o.jsx)("ul",{className:"flex flex-row items-center gap-2 px-6 max-sm:hidden",children:t.filter(e=>!eP(e)).map((e,t)=>(0,o.jsx)(eN,{item:e,className:"text-sm"},t))}),(0,o.jsxs)("div",{className:"flex flex-row items-center justify-end gap-1.5 flex-1 max-lg:hidden",children:[i.searchTrigger&&(0,o.jsx)(i.searchTrigger.full,{hideIfDisabled:!0,className:"w-full rounded-full ps-2.5 max-w-[240px]"}),i.themeSwitch&&(0,o.jsx)(i.themeSwitch,{}),i.languageSelect&&(0,o.jsx)(i.languageSelect.root,{children:(0,o.jsx)(ew.Languages,{className:"size-5"})}),(0,o.jsx)("ul",{className:"flex flex-row gap-2 items-center empty:hidden",children:t.filter(eP).map((e,t)=>(0,o.jsx)(eN,{className:(0,n.cn)("icon"===e.type&&"-mx-1 first:ms-0 last:me-0"),item:e},t))})]}),(0,o.jsxs)("div",{className:"flex flex-row items-center ms-auto -me-1.5 lg:hidden",children:[i.searchTrigger&&(0,o.jsx)(i.searchTrigger.sm,{hideIfDisabled:!0,className:"p-2"}),(0,o.jsx)(eh,{asChild:!0,children:(0,o.jsxs)("div",{children:[(0,o.jsx)(em,{"aria-label":l("Toggle Menu",{note:"aria-label"}),className:(0,n.cn)((0,a.buttonVariants)({size:"icon",variant:"ghost",className:"group [&_svg]:size-5.5"})),onPointerMove:s?.enableHoverToOpen?void 0:e=>e.preventDefault(),children:(0,o.jsx)(eb.ChevronDown,{className:"transition-transform duration-300 group-data-[state=open]:rotate-180"})}),(0,o.jsxs)(ev,{className:"flex flex-col p-4 sm:flex-row sm:items-center sm:justify-end",children:[r.filter(e=>!eP(e)).map((e,t)=>(0,o.jsx)(eS,{item:e,className:"sm:hidden"},t)),(0,o.jsxs)("div",{className:"-ms-1.5 flex flex-row items-center gap-2 max-sm:mt-2",children:[r.filter(eP).map((e,t)=>(0,o.jsx)(eS,{item:e,className:(0,n.cn)("icon"===e.type&&"-mx-1 first:ms-0")},t)),(0,o.jsx)("div",{role:"separator",className:"flex-1"}),i.languageSelect&&(0,o.jsxs)(i.languageSelect.root,{children:[(0,o.jsx)(ew.Languages,{className:"size-5"}),i.languageSelect.text&&(0,o.jsx)(i.languageSelect.text,{}),(0,o.jsx)(eb.ChevronDown,{className:"size-3 text-fd-muted-foreground"})]}),i.themeSwitch&&(0,o.jsx)(i.themeSwitch,{})]})]})]})})]})]})}function eP(e){return"secondary"in e&&null!=e.secondary?e.secondary:"icon"===e.type}function ek({transparentMode:e="none",...t}){let[r,i]=(0,l.useState)(""),a=(0,s.useIsScrollTop)({enabled:"top"===e})??!0;return(0,o.jsx)(F,{value:r,onValueChange:i,asChild:!0,children:(0,o.jsx)("header",{id:"nd-nav",...t,className:(0,n.cn)("sticky h-14 top-0 z-40",t.className),children:(0,o.jsxs)("div",{className:(0,n.cn)("backdrop-blur-lg border-b transition-colors *:mx-auto *:max-w-(--fd-layout-width)",r.length>0&&"max-lg:shadow-lg max-lg:rounded-b-2xl",(!("top"===e?a:"always"===e)||r.length>0)&&"bg-fd-background/80"),children:[(0,o.jsx)(H,{className:"flex h-14 w-full items-center px-4",asChild:!0,children:(0,o.jsx)("nav",{children:t.children})}),(0,o.jsx)(eg,{})]})})})}function eN({item:e,...r}){if("custom"===e.type)return e.children;if("menu"===e.type){let t=e.items.map((e,t)=>{if("custom"===e.type)return(0,o.jsx)(l.Fragment,{children:e.children},t);
1let{banner:r=e.icon?(0,o.jsx)("div",{className:"w-fit rounded-md border bg-fd-muted p-1 [&_svg]:size-4",children:e.icon}):null,...i}=e.menu??{};return(0,o.jsx)(G,{asChild:!0,children:(0,o.jsx)(ex.default,{href:e.url,external:e.external,...i,className:(0,n.cn)("flex flex-col gap-2 rounded-lg border bg-fd-card p-3 transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground",i.className),children:i.children??(0,o.jsxs)(o.Fragment,{children:[r,(0,o.jsx)("p",{className:"text-base font-medium",children:e.text}),(0,o.jsx)("p",{className:"text-sm text-fd-muted-foreground empty:hidden",children:e.description})]})})},`${t}-${e.url}`)});return(0,o.jsxs)(eh,{...r,children:[(0,o.jsx)(em,{onClick:e=>e.preventDefault(),className:(0,n.cn)(eC(),"rounded-md"),children:e.url?(0,o.jsx)(ex.default,{href:e.url,external:e.external,children:e.text}):e.text}),(0,o.jsx)(ev,{className:"grid grid-cols-1 gap-2 p-4 md:grid-cols-2 lg:grid-cols-3",children:t})]})}return(0,o.jsx)(eh,{...r,children:(0,o.jsx)(G,{asChild:!0,children:(0,o.jsx)(t.LinkItem,{item:e,"aria-label":"icon"===e.type?e.label:void 0,className:(0,n.cn)(eC({variant:e.type})),children:"icon"===e.type?e.icon:e.text})})})}function eS({item:e,...r}){if("custom"===e.type)return(0,o.jsx)("div",{className:(0,n.cn)("grid",r.className),children:e.children});if("menu"===e.type){let t=(0,o.jsxs)(o.Fragment,{children:[e.icon,e.text]});return(0,o.jsxs)("div",{className:(0,n.cn)("mb-4 flex flex-col",r.className),children:[(0,o.jsx)("p",{className:"mb-1 text-sm text-fd-muted-foreground",children:e.url?(0,o.jsx)(G,{asChild:!0,children:(0,o.jsx)(ex.default,{href:e.url,external:e.external,children:t})}):t}),e.items.map((e,t)=>(0,o.jsx)(eS,{item:e},t))]})}return(0,o.jsx)(G,{asChild:!0,children:(0,o.jsxs)(t.LinkItem,{item:e,className:(0,n.cn)({main:"inline-flex items-center gap-2 py-1.5 transition-colors hover:text-fd-popover-foreground
1/50 data-[active=true]:font-medium data-[active=true]:text-fd-primary [&_svg]:size-4",icon:(0,a.buttonVariants)({size:"icon",variant:"ghost"}),button:(0,a.buttonVariants)({variant:"secondary",className:"gap-1.5 [&_svg]:size-4"})}[e.type??"main"],r.className),"aria-label":"icon"===e.type?e.label:void 0,children:[e.icon,"icon"===e.type?void 0:e.text]})})}let eE=(0,l.createContext)(null);function eT(){let e=(0,l.use)(eE);if(!e)throw Error("Please use this component under <HomeLayout /> (`fumadocs-ui/layouts/home`).");return e}let{useBaseSlots:eA}=(0,t.baseSlots)({useProps:()=>eT().props});function eM(e){let{nav:{enabled:t=!0}={},slots:n,children:a,i18n:s,githubUrl:l,links:c,themeSwitch:u,searchToggle:d,...f}=e,{baseSlots:p,baseProps:h}=eA(e),m=(0,r.useLinkItems)(e),v={...p,header:n?.header??eR,container:n?.container??i};return(0,o.jsx)(eE,{value:{props:h,slots:v,...m},children:(0,o.jsxs)(v.container,{...f,children:[t&&(0,o.jsx)(v.header,{}),a]})})}},874072,187302,e=>{"use strict";e.s(["LinkItem",()=>h,"baseSlots",()=>m],874072),e.s(["isLayoutTabActive",()=>c,"isLinkItemActive",()=>d,"useLinkItems",()=>u],187302);var t=e.i(309864),r=e.i(414389),n=e.i(253754),o=e.i(284457),i=e.i(600074),a=e.i(843476),s=e.i(271645),l=e.i(683512),l=l;function c(e,t){return e.$folder?null!==l.r(e.$folder.children,e=>"page"===e.type&&(0,i.isActive)(e.url,t)):e.urls?e.urls.has((0,i.normalize)(t)):(0,i.isActive)(e.url,t,!0)}function u({githubUrl:e,links:t}){return(0,s.useMemo)(()=>{let r=function({links:e=[],githubUrl:t}){let r=[...e];return t&&r.push({type:"icon",url:t,text:"Github",label:"GitHub",icon:(0,a.jsx)("svg",{role:"img",viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})}),external:!0}),r}({links:t,githubUrl:e}),n=[],o=[];for(let e of r)switch(e.on){case"menu":o.push(e);break;case"nav":n.push(e);break;default:n.push(e),o.push(e)}return{navItems:n,menuItems:o,all:r}},[t,e])}function d(e,t){return"custom"!==e.type&&!!e.url&&"none"!==e.active&&(0,i.isActive)(e.url,t,"nested-url"===e.active)}var f=e.i(647873),p=e.i(224110);function h({ref:e,item:t,...r}){let n=d(t,(0,p.usePathname)());return(0,a.jsx)(f.default,{ref:e,href:t.url,external:t.external,...r,"data-active":n,children:r.children})}function m({useProps:e}){function i(t){let{themeSwitch:r}=e();return r.component?r.component:(0,a.jsx)(o.ThemeSwitch,{...t,...r})}function s(t){let{searchToggle:r}=e();return r.components?.sm?r.components.sm:(0,a.jsx)(n.SearchTrigger,{...t,...r.sm})}function l(t){let{searchToggle:r}=e();return r.components?.lg?r.components.lg:(0,a.jsx)(n.FullSearchTrigger,{...t,...r.full})}function c({href:t="/",...r}){let{url:n=t,title:o}=e().nav??{};return"function"==typeof o?o({href:n,...r}):(0,a.jsx)(f.default,{href:n,...r,children:o})}return{useBaseSlots(e){let{locales:n=[]}=(0,t.useI18n)(),{nav:o,slots:a={},i18n:u=n.length>1,searchToggle:{enabled:d=!0,...f}={},themeSwitch:{enabled:p=!0,...h}={}}=e;return{baseSlots:{navTitle:a.navTitle??c,themeSwitch:p&&(a.themeSwitch??i),languageSelect:!!u&&(a.languageSelect??{root:r.LanguageSelect,text:r.LanguageSelectText}),searchTrigger:d&&(a.searchTrigger??{sm:s,full:l})},baseProps:{nav:o,searchToggle:f,themeSwitch:h}}}}}},414389,253754,284457,600074,e=>{"use strict";var t=e.i(179862),r=e.i(713548),n=e.i(309864),o=e.i(281878),i=e.i(843476),a=e.i(532257);e.s(["LanguageSelect",0,function({className:e,variant:s="ghost",children:l,...c}){let u=(0,n.useI18n)(),d=(0,a.useTranslations)({note:"language switcher"});if(!u.locales)throw Error("Missing `<I18nProvider />`");let f=d("Choose a language");return(0,i.jsxs)(o.Popover,{children:[(0,i.jsx)(o.PopoverTrigger,{"aria-label":d("Choose a language",{note:"aria-label"}),className:(0,t.cn)((0,r.buttonVariants)({variant:s}),"gap-1.5 p-1.5 data-[state=open]:bg-fd-accent",e),...c,children:l}),(0,i.jsxs)(o.PopoverContent,{className:"flex flex-col gap-0.5 p-1",children:[(0,i.jsx)("p",{className:"p-2 text-xs font-medium text-fd-muted-foreground",children:f}),u.locales.map(e=>(0,i.jsx)("button",{type:"button",className:(0,t.cn)("px-2 py-1.5 text-start text-sm rounded-lg transition-colors",e.locale===u.locale?"bg-fd-primary/10 text-fd-
1primary":"text-fd-muted-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"),onClick:()=>{u.onChange?.(e.locale)},children:e.name},e.locale))]})]})},"LanguageSelectText",0,function(e){let{locales:t,locale:r}=(0,n.useI18n)(),o=t?.find(e=>e.locale===r)?.name;return(0,i.jsx)("span",{...e,children:o})}],414389);var s=e.i(757061),l=e.i(630299),l=l;e.s(["FullSearchTrigger",0,function({hideIfDisabled:e,...r}){let{enabled:n,hotKey:o,setOpenSearch:c}=(0,s.useSearchContext)(),u=(0,a.useTranslations)({note:"search trigger"});return e&&!n?null:(0,i.jsxs)("button",{type:"button","data-search-full":"",...r,className:(0,t.cn)("inline-flex items-center gap-2 rounded-lg border bg-fd-secondary/50 p-1.5 ps-2 text-sm text-fd-muted-foreground transition-colors hover:bg-fd-accent hover:text-fd-accent-foreground",r.className),onClick:()=>{c(!0)},children:[(0,i.jsx)(l.default,{className:"size-4"}),u("Search"),(0,i.jsx)("div",{className:"ms-auto inline-flex gap-0.5",children:o.map((e,t)=>(0,i.jsx)("kbd",{className:"rounded-md border bg-fd-background px-1.5",children:e.display},t))})]})},"SearchTrigger",0,function({hideIfDisabled:e,size:n="icon-sm",color:o,variant:c=o??"ghost",...u}){let{setOpenSearch:d,enabled:f}=(0,s.useSearchContext)(),p=(0,a.useTranslations)({note:"search trigger"});return e&&!f?null:(0,i.jsx)("button",{type:"button",className:(0,t.cn)((0,r.buttonVariants)({size:n,variant:c}),u.className),"data-search":"","aria-label":p("Open Search",{note:"aria-label"}),onClick:()=>{d(!0)},children:(0,i.jsx)(l.default,{})})}],253754);var c=e.i(456420);let u={name:"airplay",size:24,node:[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["path",{d:"m12 15 5 6H7Z",key:"14qnn2"}]]};u.node;let d=(0,c.default)(u),f={name:"moon",size:24,node:[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]};f.node;let p=(0,c.default)(f),h={name:"sun",size:24,node:[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]};h.node;let m=(0,c.default)(h);var v=e.i(225913),g=e.i(271645),x=e.i(363178),b=e.i(174080);let w=(0,v.cva)("size-6.5 p-1.5 text-fd-muted-foreground",{variants:{active:{true:"bg-fd-accent text-fd-accent-foreground",false:"text-fd-muted-foreground"}}}),y=[["light",m],["dark",p],["system",d]];function j(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}e.s(["ThemeSwitch",0,function({className:e,mode:r="light-dark",...n}){let{setTheme:o,theme:s,resolvedTheme:l}=(0,x.useTheme)(),[c,u]=(0,g.useState)(!1),d=(0,a.useTranslations)({note:"theme switcher"}),f={light:d("Light",{note:"aria-label"}),dark:d("Dark",{note:"aria-label"}),system:d("System",{note:"aria-label"})},p=e=>{document?.startViewTransition?document.startViewTransition(()=>(0,b.flushSync)(()=>o(e))):o(e)};(0,g.useEffect)(()=>{u(!0)},[]);let h=(0,t.cn)("inline-flex items-center rounded-full border p-1 overflow-hidden *:rounded-full",e);if("light-dark"===r){let e=c?l:null;return(0,i.jsx)("button",{className:h,"aria-label":d("Toggle Theme",{note:"aria-label"}),onClick:()=>p("light"===e?"dark":"light"),"data-theme-toggle":"",children:y.map(([r,n])=>{if("system"!==r)return(0,i.jsx)(n,{fill:"currentColor",className:(0,t.cn)(w({active:e===r}))},r)})})}let m=c?s:null;return(0,i.jsx)("div",{className:h,"data-theme-toggle":"",...n,children:y.map(([e,r])=>(0,i.jsx)("button",{"aria-label":f[e],className:(0,t.cn)(w({active:m===e})),onClick:()=>p(e),children:(0,i.jsx)(r,{className:"size-full",fill:"currentColor"})},e))})}],284457),e.s(["isActive",0,function(e,t,r=!1){return(e=j(e))===(t=j(t))||r&&t.startsWith(`${e}/`)},"normalize",0,j],600074)},411150,999092,e=>{"use strict";var t=e.i(271645);e.s(["useIsScrollTop",0,function({enabled:e=!0}){let[r,n]=(0,t.useState)();return(0,t.useEffect)(()=>
1{if(!e)return;let t=()=>{n(window.scrollY<10)};return t(),window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[e]),r}],411150);var r=e.i(456420);let n={name:"languages",size:24,node:[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]};n.node;let o=(0,r.default)(n);e.s(["Languages",0,o],999092)},716327,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDown",()=>t.default])},630299,e=>{"use strict";var t=e.i(456420);let r={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};r.node;let n=(0,t.default)(r);e.s(["default",0,n])},153547,e=>{"use strict";var t=e.i(843476),r=e.i(657688),n=e.i(271645),o=e.i(975157);e.s(["default",0,function(){let[e,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let{hostname:e}=window.location;i(function(e,t){switch(e){case"internal":return{className:"bg-amber-500 text-amber-950",emoji:"🔒",label:"Internal",shortLabel:"Int"};case"preview":return{className:"bg-blue-500 text-blue-950",emoji:"👁",label:"Preview",shortLabel:"Prev"};case"archive":{let e=(0,o.extractArchiveTarget)(t);if(!e)return{className:"bg-slate-500 text-slate-950",emoji:"📦",label:"Archive",shortLabel:"Arc"};let r=`v${e.version}`;return{className:"bg-slate-500 text-slate-950",emoji:"📦",label:e.label?`${e.label} ${r}`:r,shortLabel:e.shortLabel?`${e.shortLabel} ${r}`:r}}default:return null}}((0,o.getDeploymentType)(e),e))},[]),(0,t.jsxs)("div",{className:"flex flex-row items-center justify-center gap-3",children:[(0,t.jsx)("div",{children:(0,t.jsx)(r.default,{alt:"light-mode-image",className:"block",height:40,src:"/images/mattr_logo.png",width:80})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"rounded-none font-medium text-[#333132] dark:text-[#EAD9E3]",children:(0,t.jsx)("span",{children:"Learn"})}),e?(0,t.jsxs)("div",{className:(0,o.cn)("inline-flex items-center gap-1.5 whitespace-nowrap rounded-full px-2.5 py-0.5 font-medium text-xs",e.className),children:[(0,t.jsx)("span",{className:"text-sm",children:e.emoji}),(0,t.jsx)("span",{className:"hidden sm:inline",children:e.label}),(0,t.jsx)("span",{className:"sm:hidden",children:e.shortLabel})]}):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.