(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,802661,723673,e=>{"use strict";var t=e.i(778235);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t.useCallback(function(...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;t{var l;let a,h,{children:p,...m}=r,x=null,g=!1,v=[];c(p)&&"function"==typeof f&&(p=f(p._payload)),t.Children.forEach(p,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===o){g=!0;let t="child"in e.props?e.props.child:e.props.children;c(t)&&"function"==typeof f&&(t=f(t._payload)),x=s(e,t),v.push(x?.props?.children)}else v.push(e)}),x?x=t.cloneElement(x,void 0,v):!g&&1===t.Children.count(p)&&t.isValidElement(p)&&(x=p);let y=x?(l=x,(h=(a=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?l.ref:(h=(a=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?l.props.ref:l.props.ref||l.ref):void 0,b=n(i,y);if(!x){if(p||0===p)throw Error(g?u(e):d(e));return p}let w=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}}(m,x.props??{});return x.type!==t.Fragment&&(w.ref=i?b:y),t.cloneElement(x,w)});return r.displayName=`${e}.Slot`,r}e.s(["useComposedRefs",0,n],723673);var l=i("Slot"),o=Symbol.for("radix.slottable"),s=(e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null},a=Symbol.for("react.lazy");function c(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 d=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,u=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,f=t[" use ".trim().toString()];e.s(["Slot",0,l,"createSlot",0,i],802661)},606916,e=>{"use strict";var t=e.i(862494),r=e.i(778235);let n=(0,r.createContext)(null);e.s(["AccordionProvider",0,function({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})},"useAccordionContext",0,function(){let e=(0,r.useContext)(n);if(!e)throw Error("useAccordionContext must be used within AccordionProvider");return e}])},611413,e=>{"use strict";var t=e.i(862494),r=e.i(778235);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);o.displayName=n+"Context";let 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(723673),l=e.i(802661),o=new WeakMap;function s(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=a(n))>=0?l:i+l)=i?-1:o);return -1===s?void 0:e[s]}function a(e){return e!=e||0===e?0:Math.trunc(e)}function c(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()],o.set(this,!0)}set(e,t){return o.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=a(e),s=o>=0?o:l+o,c=s=l?-1:s;if(c===this.size||i&&c===this.size-1||-1===c)return this.set(t,r),this;let d=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 d=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var u=r[" useInsertionEffect ".trim().toString()]||d;function f({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 u(()=>{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(663749);var h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,l.createSlot)(`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}},{}),p=e=>{var t;let n,i,{present:l,children:o}=e,s=function(e){var t,n;let[i,l]=r.useState(),o=r.useRef(null),s=r.useRef(e),a=r.useRef("none"),[c,u]=(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]),d(()=>{let t=o.current,r=s.current;if(r!==e){let n=a.current,i=x(t);e?u("MOUNT"):"none"===i||t?.display==="none"?u("UNMOUNT"):r&&n!==i?u("ANIMATION_OUT"):u("UNMOUNT"),s.current=e}},[e,u]),d(()=>{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&&(u("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)}}u("ANIMATION_END")},[i,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{o.current=e?getComputedStyle(e):null,l(e)},[])}}(l),a="function"==typeof o?o({present:s.isPresent}):r.Children.only(o),c=function(...e){let t=r.useRef(e);return t.current=e,r.useCallback(e=>{let r=t.current,n=!1,i=r.map(t=>{let r=m(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;evoid 0),v=0;function y(e){let[t,n]=r.useState(g());return d(()=>{e||n(e=>e??String(v++))},[e]),e||(t?`radix-${t}`:"")}var b="Collapsible",[w,k]=n(b),[j,N]=w(b),A=r.forwardRef((e,n)=>{let{__scopeCollapsible:i,open:l,defaultOpen:o,disabled:s,onOpenChange:a,...c}=e,[d,u]=f({prop:l,defaultProp:o??!1,onChange:a,caller:b});return(0,t.jsx)(j,{scope:i,disabled:s,contentId:y(),open:d,onOpenToggle:r.useCallback(()=>u(e=>!e),[u]),children:(0,t.jsx)(h.div,{"data-state":I(d),"data-disabled":s?"":void 0,...c,ref:n})})});A.displayName=b;var C="CollapsibleTrigger",R=r.forwardRef((e,r)=>{let{__scopeCollapsible:n,...i}=e,l=N(C,n);return(0,t.jsx)(h.button,{type:"button","aria-controls":l.open?l.contentId:void 0,"aria-expanded":l.open||!1,"data-state":I(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...i,ref:r,onClick:c(e.onClick,l.onOpenToggle)})});R.displayName=C;var S="CollapsibleContent",E=r.forwardRef((e,r)=>{let{forceMount:n,...i}=e,l=N(S,e.__scopeCollapsible);return(0,t.jsx)(p,{present:n||l.open,children:({present:e})=>(0,t.jsx)(T,{...i,ref:r,present:e})})});E.displayName=S;var T=r.forwardRef((e,n)=>{let{__scopeCollapsible:l,present:o,children:s,...a}=e,c=N(S,l),[u,f]=r.useState(o),p=r.useRef(null),m=(0,i.useComposedRefs)(n,p),x=r.useRef(0),g=x.current,v=r.useRef(0),y=v.current,b=c.open||u,w=r.useRef(b),k=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),d(()=>{let e=p.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();x.current=t.height,v.current=t.width,w.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),f(o)}},[c.open,o]),(0,t.jsx)(h.div,{"data-state":I(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!b,...a,ref:m,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:b&&s})});function I(e){return e?"open":"closed"}var _=r.createContext(void 0),O="Accordion",$=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[M,z,D]=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.useRef(null),o=r.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=(0,l.createSlot)(f),p=r.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",x="data-radix-collection-item",g=(0,l.createSlot)(m),v=r.forwardRef((e,n)=>{let{scope:l,children:o,...s}=e,a=r.useRef(null),c=(0,i.useComposedRefs)(n,a),u=d(m,l);return r.useEffect(()=>(u.itemMap.set(a,{ref:a,...s}),()=>void u.itemMap.delete(a))),(0,t.jsx)(g,{...{[x]:""},ref:c,children:o})});return v.displayName=m,[{Provider:u,Slot:p,ItemSlot:v},function(t){let n=d(e+"CollectionConsumer",t);return r.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])},a]}(O),[L,B]=n(O,[D,k]),P=k(),F=r.forwardRef((e,r)=>{let{type:n,...i}=e;return(0,t.jsx)(M.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,t.jsx)(W,{...i,ref:r}):(0,t.jsx)(q,{...i,ref:r})})});F.displayName=O;var[U,V]=L(O),[X,J]=L(O,{collapsible:!1}),q=r.forwardRef((e,n)=>{let{value:i,defaultValue:l,onValueChange:o=()=>{},collapsible:s=!1,...a}=e,[c,d]=f({prop:i,defaultProp:l??"",onChange:o,caller:O});return(0,t.jsx)(U,{scope:e.__scopeAccordion,value:r.useMemo(()=>c?[c]:[],[c]),onItemOpen:d,onItemClose:r.useCallback(()=>s&&d(""),[s,d]),children:(0,t.jsx)(X,{scope:e.__scopeAccordion,collapsible:s,children:(0,t.jsx)(Y,{...a,ref:n})})})}),W=r.forwardRef((e,n)=>{let{value:i,defaultValue:l,onValueChange:o=()=>{},...s}=e,[a,c]=f({prop:i,defaultProp:l??[],onChange:o,caller:O}),d=r.useCallback(e=>c((t=[])=>[...t,e]),[c]),u=r.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)(X,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(Y,{...s,ref:n})})})}),[H,K]=L(O),Y=r.forwardRef((e,n)=>{let l,{__scopeAccordion:o,disabled:s,dir:a,orientation:d="vertical",...u}=e,f=r.useRef(null),p=(0,i.useComposedRefs)(f,n),m=z(o),x="ltr"===(l=r.useContext(_),a||l||"ltr"),g=c(e.onKeyDown,e=>{if(!$.includes(e.key))return;let t=e.target,r=m().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(Z,n),s=V(Z,n),a=P(n),c=y(),d=i&&s.value.includes(i)||!1,u=o.disabled||e.disabled;return(0,t.jsx)(G,{scope:n,open:d,disabled:u,triggerId:c,children:(0,t.jsx)(A,{"data-orientation":o.orientation,"data-state":es(d),...a,...l,ref:r,disabled:u,open:d,onOpenChange:e=>{e?s.onItemOpen(i):s.onItemClose(i)}})})});ee.displayName=Z;var et="AccordionHeader",er=r.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,l=K(O,n),o=Q(et,n);return(0,t.jsx)(h.h3,{"data-orientation":l.orientation,"data-state":es(o.open),"data-disabled":o.disabled?"":void 0,...i,ref:r})});er.displayName=et;var en="AccordionTrigger",ei=r.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,l=K(O,n),o=Q(en,n),s=J(en,n),a=P(n);return(0,t.jsx)(M.ItemSlot,{scope:n,children:(0,t.jsx)(R,{"aria-disabled":o.open&&!s.collapsible||void 0,"data-orientation":l.orientation,id:o.triggerId,...a,...i,ref:r})})});ei.displayName=en;var el="AccordionContent",eo=r.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,l=K(O,n),o=Q(el,n),s=P(n);return(0,t.jsx)(E,{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 es(e){return e?"open":"closed"}eo.displayName=el;var ea=e.i(514514);let ec=(0,ea.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),ed=(0,ea.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 eu=e.i(447839);function ef({...e}){return(0,t.jsx)(F,{"data-slot":"accordion",...e})}function eh({className:e,...r}){return(0,t.jsx)(ee,{"data-slot":"accordion-item",className:(0,eu.cn)("border-b last:border-b-0",e),...r})}function ep({className:e,children:r,...n}){return(0,t.jsx)(er,{id:n.id,className:"not-prose flex",children:(0,t.jsxs)(ei,{"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)(ed,{size:16})})]}),(0,t.jsx)(ec,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function em({className:e,children:r,...n}){return(0,t.jsx)(eo,{"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,eu.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})}}),eg={horizontalrule:(0,t.jsx)("hr",{})},ev={linebreak:(0,t.jsx)("br",{})};var ey=e.i(197895);let eb="֑-߿יִ-﷽ﹰ-ﻼ",ew="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-";RegExp("^[^"+ew+"]*["+eb+"]"),RegExp("^[^"+eb+"]*["+ew+"]");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})},...eg,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,ey.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:" "};function ej(e){return n=>{if(e.Component){let t={...n,isEditor:!1,isJSXConverter:!0};return e.Component(t)}if(e.Block){let t=n.node,i={childIndex:n.childIndex,converters:n.converters,formData:t.fields??{},isEditor:!1,isJSXConverter:!0,node:t,nodesToJSX:n.nodesToJSX,parent:n.parent};return r.default.createElement(e.Block,i)}if(e.html){let r={...n,isEditor:!1,isJSXConverter:!0},i="function"==typeof e.html?e.html(r):e.html;return(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:i}})}return null}}function eN({className:e,converters:n,data:i,disableContainer:l,disableIndent:o,disableTextAlign:s,nodeMap:a}){if(!i)return null;let c={};c=n?"function"==typeof n?n({defaultConverters:ek}):n:ek;let d=i&&!Array.isArray(i)&&"object"==typeof i&&"root"in i&&function({converters:e,data:n,disableIndent:i,disableTextAlign:l,nodeMap:o}){if(function(e){if(!e?.root?.children?.length)return!1;let t=!1;if(e?.root?.children?.length===1&&e?.root?.children[0]?.type==="paragraph"){let r=e?.root?.children[0];if(r?.children&&r?.children?.length!==0){if(r?.children?.length===1){let e=r?.children[0];e?.type!=="text"||e?.text?.length||(t=!0)}}else t=!0}return!t}(n)){let s=o?function(e){let r={};for(let[n,i]of Object.entries(e))if(i&&"object"==typeof i){if("blocks"===n){for(let[e,t]of(r.blocks={},Object.entries(i)))(t.Component||t.Block||t.html)&&(r.blocks[e]=ej(t));continue}if("inlineBlocks"===n){for(let[e,t]of(r.inlineBlocks={},Object.entries(i)))(t.Component||t.Block||t.html)&&(r.inlineBlocks[e]=ej(t));continue}(i.Component||i.html)&&(r[n]=function(e){return r=>{let n={...r,isEditor:!1,isJSXConverter:!0};if(e.Component)return e.Component(n);if(e.html){let r="function"==typeof e.html?e.html(n):e.html;return(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})}return null}}(i))}return r}(o):void 0;return 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:s?{...e,...s,blocks:{...e.blocks,...s.blocks},inlineBlocks:{...e.inlineBlocks,...s.inlineBlocks}}:e,disableIndent:i,disableTextAlign:l,nodes:n.root.children,parent:n.root})}return(0,t.jsx)(t.Fragment,{})}({converters:c,data:i,disableIndent:o,disableTextAlign:s,nodeMap:a});return l?(0,t.jsx)(t.Fragment,{children:d}):(0,t.jsx)("div",{className:e??"payload-richtext",children:d})}let 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}`},eC=({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 eR(e){let{data:r,...n}=e;return(0,t.jsx)(eN,{converters:eC,data:r||{root:{children:[],direction:"ltr",format:"",indent:0,type:"root",version:1}},...n})}var eS=e.i(333350),eE=e.i(606916),eT=e.i(757995);e.s(["AccordionBlock",0,({sections:e,collapseSingle:n=!1,hideControls:i=!1})=>{let{expandAllSignal:l,collapseAllSignal:o,setPageHasAccordion:s}=(0,eE.useAccordionContext)(),a=(0,eT.useTranslations)("Nav"),c=(0,r.useMemo)(()=>e&&e.length>0?e[0].sectionAnchorId??"":void 0,[e]),d=(0,r.useMemo)(()=>e&&e.length>0?e.filter(e=>e.expand).map(e=>e?.sectionAnchorId??""):[],[e]);(0,r.useEffect)(()=>s(!0),[]);let u=d.length>0||!n,[f,h]=(0,r.useState)(u?void 0:c),[p,m]=(0,r.useState)(u?d.length>0?d:c?[c]:[]:[]),x=(0,r.useMemo)(()=>e?.map(e=>e?.sectionAnchorId??"")||[],[e]),g=(0,r.useMemo)(()=>p.length===x.length&&x.length>0?x.map(e=>{try{return document.querySelector?.(`[data-accordion-value="${e}"]`)}catch(e){return null}}):[],[x,p]),v=(0,r.useCallback)(()=>{u?m(x):h(x[0])},[x,u]),y=(0,r.useCallback)(()=>{u?m([]):h(void 0)},[u]),[b,w]=(0,r.useState)(eS.default&&window?.location?.hash?.substring(1)||""),k=(0,r.useRef)(!1),j=(0,r.useRef)(!1),N=(0,r.useRef)(""),A=(0,r.useRef)(!1);return((0,r.useEffect)(()=>{let e=()=>{w(eS.default&&window?.location?.hash?.substring(1)||""),k.current=!1,j.current=!1,N.current="",A.current=!1};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[]),(0,r.useEffect)(()=>{if(A.current)return;b&&!k.current&&(k.current=!0,v());let e=p.length===g.length&&g.length>0,t=document.getElementById?.(b);if(b&&e&&!j.current){j.current=!0;let e=g.find(e=>e?.contains?.(t));if(!e)return void(u?m(c?[c]:[]):h(c));let r=e?.getAttribute("data-accordion-value");r&&(N.current=r,u?m(["welcome",r]):h(r))}let r=N.current&&(u?p.includes(N.current)&&2===p.length:f===N.current);t&&N.current&&r&&!A.current&&(A.current=!0,setTimeout(()=>{t.scrollIntoView({behavior:"instant"})},250))},[u,b,v,g,c,f,p,x.length,k,x]),(0,r.useEffect)(()=>{l>0&&v()},[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:v,className:"cursor-pointer font-semibold text-[#039] hover:underline",type:"button",children:a("expandAll")}),(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:a("collapseAll")})]})}),u?(0,t.jsx)(ef,{type:"multiple",className:"w-full",value:p,onValueChange:m,children:e.map((e,r)=>{let n=e?.sectionAnchorId??"";return(0,t.jsxs)(eh,{value:n,"data-accordion-section":!0,"data-accordion-value":n,children:[(0,t.jsx)(ep,{id:n,children:e.title}),(0,t.jsx)(em,{className:"text-muted-foreground leading-relaxed",children:(0,t.jsx)(eR,{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)(ef,{type:"single",collapsible:!0,className:"w-full",value:f,onValueChange:h,children:e.map((e,r)=>{let n=e?.sectionAnchorId??"";return(0,t.jsxs)(eh,{value:n,"data-accordion-section":!0,"data-accordion-value":n,children:[(0,t.jsx)(ep,{id:n,className:"hover:no-underline",children:e.title}),(0,t.jsx)(em,{className:"text-muted-foreground leading-relaxed",children:(0,t.jsx)(eR,{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(862494),r=e.i(778235),n=e.i(447839);function i(e,t={}){let{maxLength:r=80,separator:n="-",preserveCase:l=!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(/^\/+/,"")),l||(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 l(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)?l(e.children):"").join(""):""}e.s(["TableOfContents",0,e=>{let o=(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 o of t){if("heading"===o.type){let e=l(o.children);if(e){let t=i(e),l=parseInt(o.tag.substring(1),10);r.push({id:t,text:e,depth:l,accordionValue:n})}}if("heading-with-anchorId"===o.type){let e=l(o.children);if(e){let t=o?.anchorId||i(e),l=parseInt(o.tag.substring(1),10);r.push({id:t,text:e,depth:l,accordionValue:n})}}if("block"===o.type){if("accordion"===o.fields.blockType){let t=o.fields;if(t.sections&&t.sections.length>0){for(let n of t.sections)if(n.title){let t=i(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"===o.fields.blockType){let t=o.fields;t.body?.root?.children&&e(t.body.root.children,r,n)}}"children"in o&&Array.isArray(o.children)&&e(o.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===o.length?1:Math.min(...o.map(e=>e.depth)),[o]),{activeIndex:a,handleClick:c}=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:o,offset:100}),d=(0,r.useRef)(null),u=(0,r.useRef)(null);return((0,r.useEffect)(()=>{d.current&&u.current&&d.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[a]),0===o.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:u,className:"max-h-[calc(100vh-12rem)] space-y-1 overflow-y-auto scroll-smooth",children:o.map((e,r)=>{let i=r===a,l=(e.depth-s)*12;return(0,t.jsx)("li",{style:{paddingLeft:`${Math.max(0,l)}px`},children:(0,t.jsx)("button",{ref:i?d:null,type:"button",onClick:()=>{c(r,e,()=>{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";var t=e.i(862494),r=e.i(778235);let n=(0,e.i(514514).default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);var i=e.i(802661),l=e.i(294237),o=e.i(447839);let s=(0,l.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 a({className:e,variant:r,size:n,asChild:l=!1,...c}){let d=l?i.Slot:"button";return(0,t.jsx)(d,{"data-slot":"button",className:(0,o.cn)(s({variant:r,size:n,className:e})),...c})}e.s(["BackToTop",0,function(){let[e,i]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>{window.scrollY>300?i(!0):i(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsx)(a,{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,t.jsx)(n,{})})}],213980)},469652,e=>{"use strict";var t=e.i(778235);e.s(["HashRedirect",0,function({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}])},203320,e=>{"use strict";var t=e.i(862494),r=e.i(687252),n=e.i(447839),i=e.i(757995);e.s(["NavLink",0,({link:e,pathname:l,locale:o})=>{let s=e.page,a=(0,i.useTranslations)("Nav"),c="internal"===e.linkType?((e,t="en-US")=>"en-US"===t?`/privacy/${e?.slug}`:`/${t}/privacy/${e?.slug}`)(s,o):e.url,d=l===c,u="external"===e.linkType,f=a(e.labelTranslationKey);return c&&f?(0,t.jsx)(r.default,{href:c,className:(0,n.cn)("text-lg transition-colors",d?"text-gray-400":"text-[#003399]"),...u&&{target:"_blank",rel:"noopener noreferrer"},children:f}):null}],203320)},382224,e=>{"use strict";var t=e.i(862494),r=e.i(757995),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}])}]);