(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,144977,e=>{"use strict";var t=e.i(477716);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let t=0;tn,"useComposedRefs",()=>i])},606916,e=>{"use strict";var t=e.i(297647),r=e.i(477716);let n=(0,r.createContext)(null);function i({children:e}){let[i,l]=(0,r.useState)(void 0),[o,s]=(0,r.useState)(!1),[a,c]=(0,r.useState)(0),[d,u]=(0,r.useState)(0),f=(0,r.useCallback)(()=>c(e=>e+1),[]),h=(0,r.useCallback)(()=>u(e=>e+1),[]);return(0,t.jsx)(n.Provider,{value:{accordionValue:i,setAccordionValue:e=>{l(e)},expandAllSignal:a,collapseAllSignal:d,triggerExpandAll:f,triggerCollapseAll:h,pageHasAccordion:o,setPageHasAccordion:s},children:e})}function l(){let e=(0,r.useContext)(n);if(!e)throw Error("useAccordionContext must be used within AccordionProvider");return e}e.s(["AccordionProvider",()=>i,"useAccordionContext",()=>l])},611413,e=>{"use strict";var t=e.i(297647),r=e.i(477716);function n(e,i=[]){let l=[],o=()=>{let t=l.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(n,i){let o=r.createContext(i),s=l.length;l=[...l,i];let a=n=>{let{scope:i,children:l,...a}=n,c=i?.[e]?.[s]||o,d=r.useMemo(()=>a,Object.values(a));return(0,t.jsx)(c.Provider,{value:d,children:l})};return a.displayName=n+"Provider",[a,function(t,l){let a=l?.[e]?.[s]||o,c=r.useContext(a);if(c)return c;if(void 0!==i)return i;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...i)]}var i=e.i(144977);function l(e){var n;let l,o=(n=e,(l=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(r.isValidElement(n)){var o;let e,s,a=(o=n,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),c=function(e,t){let r={...t};for(let n in t){let i=e[n],l=t[n];/^on[A-Z]/.test(n)?i&&l?r[n]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...l}:"className"===n&&(r[n]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(l,n.props);return n.type!==r.Fragment&&(c.ref=t?(0,i.composeRefs)(t,a):a),r.cloneElement(n,c)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${n}.SlotClone`,l),a=r.forwardRef((e,n)=>{let{children:i,...l}=e,a=r.Children.toArray(i),c=a.find(s);if(c){let e=c.props.children,i=a.map(t=>t!==c?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,t.jsx)(o,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,t.jsx)(o,{...l,ref:n,children:i})});return a.displayName=`${e}.Slot`,a}var o=Symbol("radix.slottable");function s(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}var a=new WeakMap;function c(e,t){var r,n;let i,l,o;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,i=r.length,(o=(l=d(n))>=0?l:i+l)=i?-1:o);return -1===s?void 0:e[s]}function d(e){return e!=e||0===e?0:Math.trunc(e)}function u(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}(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),l=this.#e.length,o=d(e),s=o>=0?o:l+o,a=s=l?-1:s;if(a===this.size||i&&a===this.size-1||-1===a)return this.set(t,r),this;let c=this.size+ +!i;o=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=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);n=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;t0&&(i=r-1);for(let e=t;etypeof window&&window.document&&window.document.createElement;var f=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var h=r[" useInsertionEffect ".trim().toString()]||f;function p({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){let[l,o,s]=function({defaultProp:e,onChange:t}){let[n,i]=r.useState(e),l=r.useRef(n),o=r.useRef(t);return h(()=>{o.current=t},[t]),r.useEffect(()=>{l.current!==n&&(o.current?.(n),l.current=n)},[n,l]),[n,i,o]}({defaultProp:t,onChange:n}),a=void 0!==e,c=a?e:l;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=a},[a,i])}return[c,r.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else o(t)},[a,e,o,s])]}Symbol("RADIX:SYNC_STATE"),e.i(481938);var m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=l(`Primitive.${n}`),o=r.forwardRef((e,r)=>{let{asChild:l,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(l?i:n,{...o,ref:r})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{}),g=e=>{var t;let n,l,{present:o,children:s}=e,a=function(e){var t,n;let[i,l]=r.useState(),o=r.useRef(null),s=r.useRef(e),a=r.useRef("none"),[c,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=x(o.current);a.current="mounted"===c?e:"none"},[c]),f(()=>{let t=o.current,r=s.current;if(r!==e){let n=a.current,i=x(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):r&&n!==i?d("ANIMATION_OUT"):d("UNMOUNT"),s.current=e}},[e,d]),f(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=x(o.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(d("ANIMATION_END"),!s.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(a.current=x(o.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{o.current=e?getComputedStyle(e):null,l(e)},[])}}(o),c="function"==typeof s?s({present:a.isPresent}):r.Children.only(s),d=(0,i.useComposedRefs)(a.ref,(t=c,(l=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(l=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof s||a.isPresent?r.cloneElement(c,{ref:d}):null};function x(e){return e?.animationName||"none"}g.displayName="Presence";var y=r[" useId ".trim().toString()]||(()=>void 0),v=0;function b(e){let[t,n]=r.useState(y());return f(()=>{e||n(e=>e??String(v++))},[e]),e||(t?`radix-${t}`:"")}var w="Collapsible",[j,k]=n(w),[N,A]=j(w),R=r.forwardRef((e,n)=>{let{__scopeCollapsible:i,open:l,defaultOpen:o,disabled:s,onOpenChange:a,...c}=e,[d,u]=p({prop:l,defaultProp:o??!1,onChange:a,caller:w});return(0,t.jsx)(N,{scope:i,disabled:s,contentId:b(),open:d,onOpenToggle:r.useCallback(()=>u(e=>!e),[u]),children:(0,t.jsx)(m.div,{"data-state":_(d),"data-disabled":s?"":void 0,...c,ref:n})})});R.displayName=w;var C="CollapsibleTrigger",E=r.forwardRef((e,r)=>{let{__scopeCollapsible:n,...i}=e,l=A(C,n);return(0,t.jsx)(m.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":_(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...i,ref:r,onClick:u(e.onClick,l.onOpenToggle)})});E.displayName=C;var S="CollapsibleContent",T=r.forwardRef((e,r)=>{let{forceMount:n,...i}=e,l=A(S,e.__scopeCollapsible);return(0,t.jsx)(g,{present:n||l.open,children:({present:e})=>(0,t.jsx)(I,{...i,ref:r,present:e})})});T.displayName=S;var I=r.forwardRef((e,n)=>{let{__scopeCollapsible:l,present:o,children:s,...a}=e,c=A(S,l),[d,u]=r.useState(o),h=r.useRef(null),p=(0,i.useComposedRefs)(n,h),g=r.useRef(0),x=g.current,y=r.useRef(0),v=y.current,b=c.open||d,w=r.useRef(b),j=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),f(()=>{let e=h.current;if(e){j.current=j.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,y.current=t.width,w.current||(e.style.transitionDuration=j.current.transitionDuration,e.style.animationName=j.current.animationName),u(o)}},[c.open,o]),(0,t.jsx)(m.div,{"data-state":_(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!b,...a,ref:p,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":v?`${v}px`:void 0,...e.style},children:b&&s})});function _(e){return e?"open":"closed"}var O=r.createContext(void 0),$="Accordion",M=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[z,D,P]=function(e){let o=e+"CollectionProvider",[s,a]=n(o),[c,d]=s(o,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:n,children:i}=e,l=r.default.useRef(null),o=r.default.useRef(new Map).current;return(0,t.jsx)(c,{scope:n,itemMap:o,collectionRef:l,children:i})};u.displayName=o;let f=e+"CollectionSlot",h=l(f),p=r.default.forwardRef((e,r)=>{let{scope:n,children:l}=e,o=d(f,n),s=(0,i.useComposedRefs)(r,o.collectionRef);return(0,t.jsx)(h,{ref:s,children:l})});p.displayName=f;let m=e+"CollectionItemSlot",g="data-radix-collection-item",x=l(m),y=r.default.forwardRef((e,n)=>{let{scope:l,children:o,...s}=e,a=r.default.useRef(null),c=(0,i.useComposedRefs)(n,a),u=d(m,l);return r.default.useEffect(()=>(u.itemMap.set(a,{ref:a,...s}),()=>void u.itemMap.delete(a))),(0,t.jsx)(x,{...{[g]:""},ref:c,children:o})});return y.displayName=m,[{Provider:u,Slot:p,ItemSlot:y},function(t){let n=d(e+"CollectionConsumer",t);return r.default.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])},a]}($),[L,V]=n($,[P,k]),B=k(),F=r.default.forwardRef((e,r)=>{let{type:n,...i}=e;return(0,t.jsx)(z.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,t.jsx)(J,{...i,ref:r}):(0,t.jsx)(X,{...i,ref:r})})});F.displayName=$;var[U,W]=L($),[q,H]=L($,{collapsible:!1}),X=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:l,onValueChange:o=()=>{},collapsible:s=!1,...a}=e,[c,d]=p({prop:i,defaultProp:l??"",onChange:o,caller:$});return(0,t.jsx)(U,{scope:e.__scopeAccordion,value:r.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:d,onItemClose:r.default.useCallback(()=>s&&d(""),[s,d]),children:(0,t.jsx)(q,{scope:e.__scopeAccordion,collapsible:s,children:(0,t.jsx)(Z,{...a,ref:n})})})}),J=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:l,onValueChange:o=()=>{},...s}=e,[a,c]=p({prop:i,defaultProp:l??[],onChange:o,caller:$}),d=r.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),u=r.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(U,{scope:e.__scopeAccordion,value:a,onItemOpen:d,onItemClose:u,children:(0,t.jsx)(q,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(Z,{...s,ref:n})})})}),[Y,K]=L($),Z=r.default.forwardRef((e,n)=>{let l,{__scopeAccordion:o,disabled:s,dir:a,orientation:c="vertical",...d}=e,f=r.default.useRef(null),h=(0,i.useComposedRefs)(f,n),p=D(o),g="ltr"===(l=r.useContext(O),a||l||"ltr"),x=u(e.onKeyDown,e=>{if(!M.includes(e.key))return;let t=e.target,r=p().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let l=n,o=i-1,s=()=>{(l=n+1)>o&&(l=0)},a=()=>{(l=n-1){let{__scopeAccordion:n,value:i,...l}=e,o=K(G,n),s=W(G,n),a=B(n),c=b(),d=i&&s.value.includes(i)||!1,u=o.disabled||e.disabled;return(0,t.jsx)(Q,{scope:n,open:d,disabled:u,triggerId:c,children:(0,t.jsx)(R,{"data-orientation":o.orientation,"data-state":ea(d),...a,...l,ref:r,disabled:u,open:d,onOpenChange:e=>{e?s.onItemOpen(i):s.onItemClose(i)}})})});et.displayName=G;var er="AccordionHeader",en=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,l=K($,n),o=ee(er,n);return(0,t.jsx)(m.h3,{"data-orientation":l.orientation,"data-state":ea(o.open),"data-disabled":o.disabled?"":void 0,...i,ref:r})});en.displayName=er;var ei="AccordionTrigger",el=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,l=K($,n),o=ee(ei,n),s=H(ei,n),a=B(n);return(0,t.jsx)(z.ItemSlot,{scope:n,children:(0,t.jsx)(E,{"aria-disabled":o.open&&!s.collapsible||void 0,"data-orientation":l.orientation,id:o.triggerId,...a,...i,ref:r})})});el.displayName=ei;var eo="AccordionContent",es=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,l=K($,n),o=ee(eo,n),s=B(n);return(0,t.jsx)(T,{role:"region","aria-labelledby":o.triggerId,"data-orientation":l.orientation,...s,...i,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ea(e){return e?"open":"closed"}es.displayName=eo;var ec=e.i(514514);let ed=(0,ec.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),eu=(0,ec.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"}]]);var ef=e.i(447839);function eh({...e}){return(0,t.jsx)(F,{"data-slot":"accordion",...e})}function ep({className:e,...r}){return(0,t.jsx)(et,{"data-slot":"accordion-item",className:(0,ef.cn)("border-b last:border-b-0",e),...r})}function em({className:e,children:r,...n}){return(0,t.jsx)(en,{id:n.id,className:"not-prose flex",children:(0,t.jsxs)(el,{"data-slot":"accordion-trigger",className:"group/atrg focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-xl font-bold transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",...n,children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[r,(0,t.jsx)("a",{href:`#${n.id}`,className:"text-gray-400 group-hover/atrg:inline md:hidden",onClick:e=>{e.preventDefault(),e.stopPropagation(),navigator.clipboard.writeText(e.currentTarget.href)},children:(0,t.jsx)(eu,{size:16})})]}),(0,t.jsx)(ed,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function eg({className:e,children:r,...n}){return(0,t.jsx)(es,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...n,children:(0,t.jsx)("div",{className:(0,ef.cn)("pt-0 pb-4",e),children:r})})}let ex=({internalDocToHref:e})=>({autolink:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),i=e.fields.newTab?"noopener noreferrer":void 0,l=e.fields.newTab?"_blank":void 0;return(0,t.jsx)("a",{href:e.fields.url,rel:i,target:l,children:n})},link:({node:r,nodesToJSX:n})=>{let i=n({nodes:r.children}),l=r.fields.newTab?"noopener noreferrer":void 0,o=r.fields.newTab?"_blank":void 0,s=r.fields.url??"";return"internal"===r.fields.linkType&&(e?s=e({linkNode:r}):(console.error("Lexical => JSX converter: Link converter: found internal link, but internalDocToHref is not provided"),s="#")),(0,t.jsx)("a",{href:s,rel:l,target:o,children:i})}}),ey={horizontalrule:(0,t.jsx)("hr",{})},ev={linebreak:(0,t.jsx)("br",{})};var eb=e.i(503144);let ew="֑-߿יִ-﷽ﹰ-ﻼ",ej="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-";RegExp("^[^"+ej+"]*["+ew+"]"),RegExp("^[^"+ew+"]*["+ej+"]");let ek={paragraph:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return n?.length?(0,t.jsx)("p",{children:n}):(0,t.jsx)("p",{children:(0,t.jsx)("br",{})})},text:({node:e})=>{let r=e.text;return 1&e.format&&(r=(0,t.jsx)("strong",{children:r})),2&e.format&&(r=(0,t.jsx)("em",{children:r})),4&e.format&&(r=(0,t.jsx)("span",{style:{textDecoration:"line-through"},children:r})),8&e.format&&(r=(0,t.jsx)("span",{style:{textDecoration:"underline"},children:r})),16&e.format&&(r=(0,t.jsx)("code",{children:r})),32&e.format&&(r=(0,t.jsx)("sub",{children:r})),64&e.format&&(r=(0,t.jsx)("sup",{children:r})),r},...ev,quote:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return(0,t.jsx)("blockquote",{children:n})},table:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return(0,t.jsx)("div",{className:"lexical-table-container",children:(0,t.jsx)("table",{className:"lexical-table",style:{borderCollapse:"collapse"},children:(0,t.jsx)("tbody",{children:n})})})},tablecell:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),i=e.headerState>0?"th":"td",l=`lexical-table-cell-header-${e.headerState}`,o={backgroundColor:e.backgroundColor||void 0,border:"1px solid #ccc",padding:"8px"},s=e.colSpan&&e.colSpan>1?e.colSpan:void 0,a=e.rowSpan&&e.rowSpan>1?e.rowSpan:void 0;return(0,t.jsx)(i,{className:`lexical-table-cell ${l}`,colSpan:s,rowSpan:a,style:o,children:n})},tablerow:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return(0,t.jsx)("tr",{className:"lexical-table-row",children:n})},heading:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),i=e.tag;return(0,t.jsx)(i,{children:n})},...ey,list:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),i=e.tag;return(0,t.jsx)(i,{className:`list-${e?.listType}`,children:n})},listitem:({node:e,nodesToJSX:r,parent:n})=>{let i=e.children.some(e=>"list"===e.type),l=r({nodes:e.children});if(!("listType"in n)||n?.listType!=="check")return(0,t.jsx)("li",{className:`${i?"nestedListItem":""}`,style:i?{listStyleType:"none"}:void 0,value:e?.value,children:l});{let r=(0,eb.v4)();return(0,t.jsx)("li",{"aria-checked":e.checked?"true":"false",className:`list-item-checkbox${e.checked?" list-item-checkbox-checked":" list-item-checkbox-unchecked"}${i?" nestedListItem":""}`,role:"checkbox",style:{listStyleType:"none"},tabIndex:-1,value:e?.value,children:i?l:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{checked:e.checked,id:r,readOnly:!0,type:"checkbox"}),(0,t.jsx)("label",{htmlFor:r,children:l}),(0,t.jsx)("br",{})]})})}},...ex({}),upload:({node:e})=>{if("object"!=typeof e.value)return null;let r=e.value,n=e.fields?.alt||r?.alt||"",i=r.url;if(!r.mimeType.startsWith("image"))return(0,t.jsx)("a",{href:i,rel:"noopener noreferrer",children:r.filename});if(!r.sizes||!Object.keys(r.sizes).length)return(0,t.jsx)("img",{alt:n,height:r.height,src:i,width:r.width});let l=[];for(let e in r.sizes){let n=r.sizes[e];if(!n||!n.width||!n.height||!n.mimeType||!n.filesize||!n.filename||!n.url)continue;let i=n?.url;l.push((0,t.jsx)("source",{media:`(max-width: ${n.width}px)`,srcSet:i,type:n.mimeType},e))}return l.push((0,t.jsx)("img",{alt:n,height:r?.height,src:i,width:r?.width},"image")),(0,t.jsx)("picture",{children:l})},tab:" "},eN=({className:e,converters:n,data:i,disableContainer:l,disableIndent:o,disableTextAlign:s})=>{if(!i)return null;let a={};a=n?"function"==typeof n?n({defaultConverters:ek}):n:ek;let c=i&&!Array.isArray(i)&&"object"==typeof i&&"root"in i&&function({converters:e,data:n,disableIndent:i,disableTextAlign:l}){return!function(e){let t=!!e?.root?.children?.length,r=!1;if(e?.root?.children?.length===1&&e?.root?.children[0]?.type==="paragraph"){let t=e?.root?.children[0];if(t?.children&&t?.children?.length!==0){if(t?.children?.length===1){let e=t?.children[0];e?.type!=="text"||e?.text?.length||(r=!0)}}else r=!0}return!!t&&!r}(n)?(0,t.jsx)(t.Fragment,{}):function e({converters:n,disableIndent:i,disableTextAlign:l,nodes:o,parent:s}){let a=n.unknown;return o.map((o,c)=>{let d;"block"===o.type?(d=n?.blocks?.[o?.fields?.blockType])||a||console.error(`Lexical => JSX converter: Blocks converter: found ${o?.fields?.blockType} block, but no converter is provided`):"inlineBlock"===o.type?(d=n?.inlineBlocks?.[o?.fields?.blockType])||a||console.error(`Lexical => JSX converter: Inline Blocks converter: found ${o?.fields?.blockType} inline block, but no converter is provided`):d=n[o.type];try{let u;!d&&a&&(d=a),u=d?"function"==typeof d?d({childIndex:c,converters:n,node:o,nodesToJSX:t=>e({converters:t.converters??n,disableIndent:t.disableIndent??i,disableTextAlign:t.disableTextAlign??l,nodes:t.nodes,parent:t.parent??{...o,parent:s}}),parent:s}):d:(0,t.jsx)("span",{children:"unknown node"},c);let f={};if(!l&&(!Array.isArray(l)||!l?.includes(o.type))&&"format"in o&&o.format)switch(o.format){case"center":f.textAlign="center";break;case"end":case"right":f.textAlign="right";break;case"justify":f.textAlign="justify";break;case"left":break;case"start":f.textAlign="left"}if(!i&&(!Array.isArray(i)||!i?.includes(o.type))&&"indent"in o&&o.indent&&"listitem"!==o.type&&(f.paddingInlineStart=`${40*Number(o.indent)}px`),r.default.isValidElement(u)){if(f.textAlign||f.paddingInlineStart){let e={...f,...u?.props?.style??{}};return r.default.cloneElement(u,{key:c,style:e})}return r.default.cloneElement(u,{key:c})}return u}catch(e){return console.error("Error converting lexical node to JSX:",e,"node:",o),null}}).filter(Boolean)}({converters:e,disableIndent:i,disableTextAlign:l,nodes:n?.root?.children,parent:n?.root})}({converters:a,data:i,disableIndent:o,disableTextAlign:s});return l?(0,t.jsx)(t.Fragment,{children:c}):(0,t.jsx)("div",{className:e??"payload-richtext",children:c})},eA=({linkNode:e})=>{let{value:t,relationTo:r}=e.fields.doc;if("object"!=typeof t)throw Error("Expected value to be an object");let n=t.slug;return"pages"===r?`/privacy/${n}`:`/${n}`},eR=({defaultConverters:e})=>({...e,...ex({internalDocToHref:eA}),"heading-with-anchorId":({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),i=e.tag,l=e?.anchorId??void 0;return(0,t.jsx)(i,{id:l,children:n})}});function eC(e){let{data:r,...n}=e;return(0,t.jsx)(eN,{converters:eR,data:r||{root:{children:[],direction:"ltr",format:"",indent:0,type:"root",version:1}},...n})}var eE=e.i(333350),eS=e.i(606916);e.s(["AccordionBlock",0,({sections:e,collapseSingle:n=!1,hideControls:i=!1})=>{let{expandAllSignal:l,collapseAllSignal:o,setPageHasAccordion:s}=(0,eS.useAccordionContext)(),a=(0,r.useMemo)(()=>e&&e.length>0?e[0].sectionAnchorId??"":void 0,[e]),c=(0,r.useMemo)(()=>e&&e.length>0?e.filter(e=>e.expand).map(e=>e?.sectionAnchorId??""):[],[e]);(0,r.useEffect)(()=>s(!0),[]);let d=c.length>0||!n,[u,f]=(0,r.useState)(d?void 0:a),[h,p]=(0,r.useState)(d?c.length>0?c:a?[a]:[]:[]),m=(0,r.useMemo)(()=>e?.map(e=>e?.sectionAnchorId??"")||[],[e]),g=(0,r.useMemo)(()=>h.length===m.length&&m.length>0?m.map(e=>{try{return document.querySelector?.(`[data-accordion-value="${e}"]`)}catch(e){return null}}):[],[m,h]),x=(0,r.useCallback)(()=>{d?p(m):f(m[0])},[m,d]),y=(0,r.useCallback)(()=>{d?p([]):f(void 0)},[d]),[v,b]=(0,r.useState)(eE.default&&window?.location?.hash?.substring(1)||""),w=(0,r.useRef)(!1),j=(0,r.useRef)(!1),k=(0,r.useRef)(""),N=(0,r.useRef)(!1);return((0,r.useEffect)(()=>{let e=()=>{b(eE.default&&window?.location?.hash?.substring(1)||""),w.current=!1,j.current=!1,k.current="",N.current=!1};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[]),(0,r.useEffect)(()=>{if(N.current)return;v&&!w.current&&(w.current=!0,x());let e=h.length===g.length&&g.length>0,t=document.getElementById?.(v);if(e&&!j.current){j.current=!0;let e=g.find(e=>e?.contains?.(t));if(!e)return void(d?p(a?[a]:[]):f(a));let r=e?.getAttribute("data-accordion-value");r&&(k.current=r,d?p(["welcome",r]):f(r))}let r=k.current&&(d?h.includes(k.current)&&2===h.length:u===k.current);t&&k.current&&r&&!N.current&&(N.current=!0,setTimeout(()=>{t.scrollIntoView({behavior:"instant"})},250))},[d,v,x,g,a,u,h,m.length,w,m]),(0,r.useEffect)(()=>{l>0&&x()},[l]),(0,r.useEffect)(()=>{o>0&&y()},[o]),e&&0!==e.length)?(0,t.jsxs)("div",{className:"w-full",children:[!i&&(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsxs)("div",{className:"mb-6 flex items-center gap-2 text-sm",children:[(0,t.jsx)("button",{onClick:x,className:"cursor-pointer font-semibold text-[#039] hover:underline",type:"button",children:"Expand All"}),(0,t.jsx)("span",{className:"text-gray-400",children:"|"}),(0,t.jsx)("button",{onClick:y,className:"cursor-pointer font-semibold text-[#039] hover:underline",type:"button",children:"Collapse All"})]})}),d?(0,t.jsx)(eh,{type:"multiple",className:"w-full",value:h,onValueChange:p,children:e.map((e,r)=>{let n=e?.sectionAnchorId??"";return(0,t.jsxs)(ep,{value:n,"data-accordion-section":!0,"data-accordion-value":n,children:[(0,t.jsx)(em,{id:n,children:e.title}),(0,t.jsx)(eg,{className:"text-muted-foreground leading-relaxed",children:(0,t.jsx)(eC,{className:"prose prose-lg max-w-none [&_table]:mb-4 [&_table]:block [&_table]:w-full [&_table]:border-collapse [&_table]:overflow-x-auto [&_td]:min-w-40 [&_th]:whitespace-nowrap",data:e.body??null})})]},r)})}):(0,t.jsx)(eh,{type:"single",collapsible:!0,className:"w-full",value:u,onValueChange:f,children:e.map((e,r)=>{let n=e?.sectionAnchorId??"";return(0,t.jsxs)(ep,{value:n,"data-accordion-section":!0,"data-accordion-value":n,children:[(0,t.jsx)(em,{id:n,className:"hover:no-underline",children:e.title}),(0,t.jsx)(eg,{className:"text-muted-foreground leading-relaxed",children:(0,t.jsx)(eC,{className:"prose prose-lg max-w-none [&_table]:mb-4 [&_table]:block [&_table]:w-full [&_table]:border-collapse [&_table]:overflow-x-auto [&_td]:min-w-40 [&_th]:whitespace-nowrap",data:e.body??null})})]},r)})})]}):null}],611413)},715375,e=>{"use strict";var t=e.i(297647),r=e.i(477716),n=e.i(447839),i=e.i(606916);function l(e,t={}){let{maxLength:r=80,separator:n="-",preserveCase:i=!1,allowedChars:o=/[^a-z0-9\s/-]/g,removeLeadingSlashes:s=!0,questionMarkReplacement:a="-by-"}=t;if(!e||"string"!=typeof e)return"";let c=e.trim();return s&&(c=c.replace(/^\/+/,"")),i||(c=c.toLowerCase()),c.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\?/g,a).replace(/\./g,n).replace(o,"").replace(/\/+/g,n).replace(/\s+/g,n).replace(RegExp(`\\${n}+`,"g"),n).replace(RegExp(`^\\${n}|\\${n}$`,"g"),"").substring(0,r).replace(RegExp(`\\${n}$`),"")}function o(e){return e&&0!==e.length?e.map(e=>"text"in e&&"string"==typeof e.text?e.text:"children"in e&&Array.isArray(e.children)?o(e.children):"").join(""):""}e.s(["TableOfContents",0,e=>{let{setAccordionValue:s}=(0,i.useAccordionContext)(),a=(0,r.useMemo)(()=>(function(e,t){if(!e||!e.root||!e.root.children)return[];let r=function e(t,r=[],n){if(!t||0===t.length)return r;for(let i of t){if("heading"===i.type){let e=o(i.children);if(e){let t=l(e),o=parseInt(i.tag.substring(1),10);r.push({id:t,text:e,depth:o,accordionValue:n})}}if("heading-with-anchorId"===i.type){let e=o(i.children);if(e){let t=i?.anchorId||l(e),o=parseInt(i.tag.substring(1),10);r.push({id:t,text:e,depth:o,accordionValue:n})}}if("block"===i.type){if("accordion"===i.fields.blockType){let t=i.fields;if(t.sections&&t.sections.length>0){for(let n of t.sections)if(n.title){let t=l(n.title);r.push({id:t,text:n.title,depth:3,accordionValue:t}),n.body?.root?.children&&e(n.body.root.children,r,t)}}}if("disclosure"===i.fields.blockType){let t=i.fields;t.body?.root?.children&&e(t.body.root.children,r,n)}}"children"in i&&Array.isArray(i.children)&&e(i.children,r,n)}return r}(e.root.children);if(void 0===t||0===r.length)return r;let n=Math.min(...r.map(e=>e.depth));return r.filter(e=>e.depth-n+10===a.length?1:Math.min(...a.map(e=>e.depth)),[a]),{activeIndex:d,handleClick:u}=function(e){let{headings:t,offset:n=100}=e,[i,l]=(0,r.useState)(0),o=(0,r.useRef)(!1),s=(0,r.useRef)(0),a=(0,r.useRef)(5),c=(0,r.useCallback)(()=>{if(o.current)return;let e=t.map(e=>document.getElementById(e.id)).filter(e=>null!==e);if(0===e.length)return;let r=0,i=window.scrollY+n;for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&i>=n.offsetTop){r=t;break}}l(r)},[t,n]);return(0,r.useEffect)(()=>{let e=null,t=0,r=()=>{let r=Date.now();r-t{let t=window.scrollY,r=Math.abs(t-s.current);o.current&&r>a.current&&(o.current=!1),s.current=t,c(),e=null}))};return c(),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("hashchange",c),()=>{window.removeEventListener("scroll",r),window.removeEventListener("hashchange",c),null!==e&&cancelAnimationFrame(e)}},[c]),{activeIndex:i,handleClick:(0,r.useCallback)((e,t,r)=>{l(e),o.current=!0,s.current=window.scrollY,r()},[])}}({headings:a,offset:100}),f=(0,r.useRef)(null),h=(0,r.useRef)(null);return((0,r.useEffect)(()=>{f.current&&h.current&&f.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[d]),0===a.length)?null:(0,t.jsxs)("nav",{className:"bg-card sticky top-4 rounded-sm border p-4",children:[(0,t.jsx)("h2",{className:"mb-4 text-sm font-semibold",children:"Table of Contents"}),(0,t.jsx)("ul",{ref:h,className:"max-h-[calc(100vh-12rem)] space-y-1 overflow-y-auto scroll-smooth",children:a.map((e,r)=>{let i=r===d,l=(e.depth-c)*12;return(0,t.jsx)("li",{style:{paddingLeft:`${Math.max(0,l)}px`},children:(0,t.jsx)("button",{ref:i?f:null,type:"button",onClick:()=>{u(r,e,()=>{e.accordionValue?e.id===e.accordionValue?s(e.accordionValue):(s(e.accordionValue),setTimeout(()=>{document.getElementById(e.id)&&(window.location.hash=e.id)},300)):document.getElementById(e.id)&&(window.location.hash=e.id)})},className:(0,n.cn)("w-full rounded-sm px-3 py-1.5 text-left text-sm transition-colors",i?"bg-blue-500 text-white":"text-muted-foreground hover:bg-accent hover:text-foreground"),children:e.text})},e.id)})})]})}],715375)},213980,e=>{"use strict";let t,r,n;var i=e.i(297647),l=e.i(477716);let o=(0,e.i(514514).default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);var s=e.i(144977),a=Symbol.for("react.lazy"),c=l[" use ".trim().toString()];function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var u=((n=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(d(r)&&"function"==typeof c&&(r=c(r._payload)),l.isValidElement(r)){var i;let e,o,a=(i=r,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),c=function(e,t){let r={...t};for(let n in t){let i=e[n],l=t[n];/^on[A-Z]/.test(n)?i&&l?r[n]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...l}:"className"===n&&(r[n]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==l.Fragment&&(c.ref=t?(0,s.composeRefs)(t,a):a),l.cloneElement(r,c)}return l.Children.count(r)>1?l.Children.only(null):null})).displayName="Slot.SlotClone",t=n,(r=l.forwardRef((e,r)=>{let{children:n,...o}=e;d(n)&&"function"==typeof c&&(n=c(n._payload));let s=l.Children.toArray(n),a=s.find(h);if(a){let e=a.props.children,n=s.map(t=>t!==a?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...o,ref:r,children:l.isValidElement(e)?l.cloneElement(e,void 0,n):null})}return(0,i.jsx)(t,{...o,ref:r,children:n})})).displayName="Slot.Slot",r),f=Symbol("radix.slottable");function h(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}var p=e.i(294237),m=e.i(447839);let g=(0,p.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function x({className:e,variant:t,size:r,asChild:n=!1,...l}){return(0,i.jsx)(n?u:"button",{"data-slot":"button",className:(0,m.cn)(g({variant:t,size:r,className:e})),...l})}function y(){let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=()=>{window.scrollY>300?t(!0):t(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,i.jsx)(x,{variant:"default",size:"icon-lg",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},"aria-label":"Back to top",className:`fixed right-8 bottom-8 z-50 shadow-lg transition-opacity duration-300 ${e?"opacity-100":"pointer-events-none opacity-0"}`,children:(0,i.jsx)(o,{})})}e.s(["BackToTop",()=>y],213980)},469652,e=>{"use strict";var t=e.i(477716);function r({rules:e}){let r=(0,t.useRef)(e);return(0,t.useEffect)(()=>{let e=window.location.hash.slice(1),t=r.current.find(t=>t.from===e);t&&window.location.replace(`#${t.to}`)},[]),null}e.s(["HashRedirect",()=>r])},382224,e=>{"use strict";var t=e.i(297647),r=e.i(352194),n=e.i(606916);e.s(["NavAccordionTriggers",0,()=>{let{triggerExpandAll:e,triggerCollapseAll:i,pageHasAccordion:l}=(0,n.useAccordionContext)(),o=(0,r.useTranslations)("Nav");return l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{onClick:e,className:"cursor-pointer font-medium text-[#039] hover:underline",type:"button",children:o("expandAll")}),(0,t.jsx)("span",{className:"text-gray-400",children:"|"}),(0,t.jsx)("button",{onClick:i,className:"cursor-pointer font-medium text-[#039] hover:underline",type:"button",children:o("collapseAll")})]}):null}])}]);