1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,229868,e=>{"use strict";var t,n=e.i(315179),r=e.i(215745),i=e.i(714483),a=e.i(297095),o=e.i(968440),s=e.i(465314);e.i(900251);var l=Object.defineProperty,u=(e,t)=>l(e,"name",{value:t,configurable:!0});function c(e,t=[]){let r=[];function i(t,i){let a=s.createContext(i);a.displayName=t+"Context";let o=r.length;r=[...r,i];let l=u(t=>{let{scope:r,children:i,...l}=t,u=r?.[e]?.[o]||a,c=s.useMemo(()=>l,Object.values(l));return(0,n.jsx)(u.Provider,{value:c,children:i})},"Provider");function c(n,r,l={}){let{optional:u=!1}=l,d=r?.[e]?.[o]||a,f=s.useContext(d);if(f)return f;if(void 0!==i)return i;if(!u)throw Error(`\`${n}\` must be used within \`${t}\``)}return l.displayName=t+"Provider",u(c,"useContext"),[l,c]}u(i,"createContext");let a=u(()=>{let t=r.map(e=>s.createContext(e));return u(function(n){let r=n?.[e]||t;return s.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},"useScope")},"createScope");return a.scopeName=e,[i,d(a,...t)]}function d(...e){let t=e[0];if(1===e.length)return t;let n=u(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return u(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return s.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}u(function(e,t){let r=s.createContext(t);r.displayName=e+"Context";let i=u(e=>{let{children:t,...i}=e,a=s.useMemo(()=>i,Object.values(i));return(0,n.jsx)(r.Provider,{value:a,children:t})},"Provider");function a(n,i={}){let{optional:o=!1}=i,l=s.useContext(r);if(l)return l;if(void 0!==t)return t;if(!o)throw Error(`\`${n}\` must be used within \`${e}\``)}return i.displayName=e+"Provider",u(a,"useContext"),[i,a]},"createContext"),u(c,"createContextScope"),u(d,"composeContextScopes");var f=Object.defineProperty,m=(e,t)=>f(e,"name",{value:t,configurable:!0}),h=!!("u">typeof window&&window.document&&window.document.createElement);function p(e,t,{checkForDefaultPrevented:n=!0}={}){return m(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function v(e){if(!h)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function g(e){return"IFRAME"===e.tagName}m(p,"composeEventHandlers"),m(function(e){if(!h)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),m(v,"getOwnerDocument"),m(function e(t,n=!1){let{activeElement:r}=v(t);if(!r?.nodeName)return null;if(g(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=v(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),m(g,"isFrame");var w=e.i(156316),b=globalThis?.document?s.useLayoutEffect:()=>{},y=Object.defineProperty,x=s[" useEffectEvent ".trim().toString()],C=s[" useInsertionEffect ".trim().toString()];function E(e){if("function"==typeof x)return x(e);let t=s.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof C?C(()=>{t.current=e}):b(()=>{t.current=e}),s.useMemo(()=>(...e)=>t.current?.(...e),[])}y(E,"name",{value:"useEffectEvent",configurable:!0});var j=Object.defineProperty,N=(e,t)=>j(e,"name",{value:t,configurable:!0}),R=s[" useInsertionEffect ".trim().toString()]||b;function k({prop:e,defaultProp:t,onChange:n=N(()=>{},"onChange"),caller:r}){let[i,a,o]=P({defaultProp:t,onChange:n}),l=void 0!==e,u=l?e:i;return[u,s.useCallback(t=>{if(l){let n=S(t)?t(e):t;n!==e&&o.current?.(n)}else a(t)},[l,e,a,o])]}function P({defaultProp:e,onChange:t}){let[n,r]=s.useState(e),i=s.useRef(n),a=s.useRef(t);return R(()=>{a.current=t},[t]),s.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}function S(e){return"function"==typeof e}N(k,"useControllableState"),N(P,"useUncontrolledState"),N(S,"isFunction");var M=Symbol("RADIX:SYNC_STATE");N(function(e,t,n,r){let{prop:i,defaultProp:a,onChange:o,caller:l}=t,u=void 0!==i,c=E(o),d=[{...n,state:a}];r&&d.push(r);let[f,m]=s.useReducer((t,n)=>{if(n.type===M)return{...t,state:n.state};let r=e(t,n);
1return u&&!Object.is(r.state,t.state)&&c(r.state),r},...d),h=f.state,p=s.useRef(h);s.useEffect(()=>{p.current!==h&&(p.current=h,u||c(h))},[h,p,u]);let v=s.useMemo(()=>void 0!==i?{...f,state:i}:f,[f,i]);return s.useEffect(()=>{u&&!Object.is(i,f.state)&&m({type:M,state:i})},[i,f.state,u]),[v,m]},"useControllableStateReducer");var O=e.i(976173),T=Object.defineProperty,L=s.createContext(void 0);function A(e){let t=s.useContext(L);return e||t||"ltr"}T(A,"name",{value:"useDirection",configurable:!0});var D=Object.defineProperty,I=(e,t)=>D(e,"name",{value:t,configurable:!0});function F(e,t){return s.useReducer((e,n)=>t[e][n]??e,e)}I(F,"useStateMachine");var Z=I(e=>{let{present:t,children:n}=e,r=z(t),i="function"==typeof n?n({present:r.isPresent}):s.Children.only(n),a=_(r.ref,U(i));return"function"==typeof n||r.isPresent?s.cloneElement(i,{ref:a}):null},"Presence");function z(e){let[t,n]=s.useState(),r=s.useRef(null),i=s.useRef(e),a=s.useRef("none"),o=s.useRef(void 0),[l,u]=F(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{"mounted"===l?(a.current=o.current??V(r.current),o.current=void 0):a.current="none"},[l]),b(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=V(t);e?(o.current=s,u("MOUNT")):"none"===s||t?.display==="none"?u("UNMOUNT"):n&&r!==s?u("ANIMATION_OUT"):u("UNMOUNT"),i.current=e}},[e,u]),b(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=I(a=>{let o=V(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(u("ANIMATION_END"),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},"handleAnimationEnd"),s=I(e=>{e.target===t&&(a.current=V(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",o),t.addEventListener("animationend",o),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",o),t.removeEventListener("animationend",o)}}u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:s.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=V(t)}else r.current=null;n(e)},[])}}function B(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function _(...e){let t=s.useRef(e);return t.current=e,s.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=B(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];"function"==typeof t?t():B(n[e],null)}}},[])}function V(e){return e?.animationName||"none"}function U(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}I(z,"usePresence"),I(B,"setRef"),I(_,"useStableComposedRefs"),I(V,"getAnimationName"),I(U,"getElementRef");var W=Object.defineProperty,H=s[" useId ".trim().toString()]||(()=>void 0),K=0;function $(e){let[t,n]=s.useState(H());return b(()=>{e||n(e=>e??String(K++))},[e]),e||(t?`radix-${t}`:"")}W($,"name",{value:"useId",configurable:!0});var G=e.i(950700),q=Object.defineProperty,Y=(e,t)=>q(e,"name",{value:t,configurable:!0});function J(e){let t=e+"CollectionProvider",[r,i]=c(t),[a,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=Y(e=>{let{scope:t,children:r}=e,i=s.useRef(null),o=s.useRef(new Map).current;return(0,n.jsx)(a,{scope:t,itemMap:o,collectionRef:i,children:r})},"CollectionProvider");l.displayName=t;let u=e+"CollectionSlot",d=(0,G.createSlot)(u),f=s.forwardRef((e,t)=>{let{scope:r,children:i}=e,a=o(u,r),s=(0,O.useComposedRefs)(t,a.collectionRef);return(0,n.jsx)(d,{ref:s,children:i})});f.displayName=u;let m=e+"CollectionItemSlot",h="data-radix-collection-item",p=(0,G.createSlot)(m),v=s.forwardRef((e,t)=>{let{scope:r,children:i,...a}=e,l=s.useRef(null),u=(0,O.useComposedRefs)(t,l),c=o(m,r);return s.useEffect(()=>(c.itemMap.set(l,{ref:l,...a}),()=>void c.itemMap.delete(l))),(0,n.jsx)(p,{...{[h]:""},ref:u,children:i})});function g(t){let n=o(e+"CollectionConsumer",t);return s.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return v.displayName=m,Y(g,"useCollection"),[{Provider:l,Slot:f,ItemSlot:v},g,i]}Y(J,"createCollection");var X=new WeakMap,Q=class e extends Map{static{Y(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],X.set(this,!0)}set(e,t){return X.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),a=this.#e.length,o=en(e),s=o>=0?o:a+o,l=s<0||s>=a?-1:s;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,n),this;let u=this.size+ +!i;o<0&&s++;let c=[...this.#e],d=!1;for(let e=s;e<u;e++)if(s===e){let a=c[e];c[e]===t&&(a=c[e+1]),i&&this.delete(t),r=this.get(a),this.set(t,n)}else{d||c[e-1]!==t||(d=!0);let n=c[d?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}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,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}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=ee(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=ee(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return ee(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
1}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function ee(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=et(e,t);return -1===n?void 0:e[n]}function et(e,t){let n=e.length,r=en(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}function en(e){return e!=e||0===e?0:Math.trunc(e)}function er(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}function ei(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function ea(e,t){return e[1].element&&t[1].element?ei(e[1].element,t[1].element)?-1:1:0}function eo(e){return new MutationObserver(t=>{for(let n of t)if("childList"===n.type)return void e()})}function es(e){let t=s.useRef(e);return s.useEffect(()=>{t.current=e}),s.useMemo(()=>(...e)=>t.current?.(...e),[])}Y(ee,"at"),Y(et,"toSafeIndex"),Y(en,"toSafeInteger"),Y(function(e){let t=e+"CollectionProvider",[r,i]=c(t),[a,o]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new Q,setItemMap:Y(()=>void 0,"setItemMap")}),l=Y(({state:e,...t})=>e?(0,n.jsx)(d,{...t,state:e}):(0,n.jsx)(u,{...t}),"CollectionProvider");l.displayName=t;let u=Y(e=>{let t=w();return(0,n.jsx)(d,{...e,state:t})},"CollectionInit");u.displayName=t+"Init";let d=Y(e=>{let{scope:t,children:r,state:i}=e,o=s.useRef(null),[l,u]=s.useState(null),c=(0,O.useComposedRefs)(o,u),[d,f]=i;return s.useEffect(()=>{if(!l)return;let e=eo(()=>{});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l]),(0,n.jsx)(a,{scope:t,itemMap:d,setItemMap:f,collectionRef:c,collectionRefObject:o,collectionElement:l,children:r})},"CollectionProviderImpl");d.displayName=t+"Impl";let f=e+"CollectionSlot",m=(0,G.createSlot)(f),h=s.forwardRef((e,t)=>{let{scope:r,children:i}=e,a=o(f,r),s=(0,O.useComposedRefs)(t,a.collectionRef);return(0,n.jsx)(m,{ref:s,children:i})});h.displayName=f;let p=e+"CollectionItemSlot",v=(0,G.createSlot)(p),g=s.forwardRef((e,t)=>{let{scope:r,children:i,...a}=e,l=s.useRef(null),[u,c]=s.useState(null),d=(0,O.useComposedRefs)(t,l,c),{setItemMap:f}=o(p,r),m=s.useRef(a);er(m.current,a)||(m.current=a);let h=m.current;return s.useEffect(()=>(f(e=>u?e.has(u)?e.set(u,{...h,element:u}).toSorted(ea):(e.set(u,{...h,element:u}),e.toSorted(ea)):e),()=>{f(e=>u&&e.has(u)?(e.delete(u),new Q(e)):e)}),[u,h,f]),(0,n.jsx)(v,{"data-radix-collection-item":"",ref:d,children:i})});function w(){return s.useState(new Q)}function b(t){let{itemMap:n}=o(e+"CollectionConsumer",t);return n}return g.displayName=p,Y(w,"useInitCollection"),Y(b,"useCollection"),[{Provider:l,Slot:h,ItemSlot:g},{createCollectionScope:i,useCollection:b,useInitCollection:w}]},"createCollection"),Y(er,"shallowEqual"),Y(ei,"isElementPreceding"),Y(ea,"sortByDocumentPosition"),Y(eo,"getChildListObserver"),(0,Object.defineProperty)(e
1s,"name",{value:"useCallbackRef",configurable:!0});var el=Object.defineProperty,eu=(e,t)=>el(e,"name",{value:t,configurable:!0}),ec="dismissableLayer.update",ed=s.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),ef=s.forwardRef(eu(function(e,r){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:a=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,onDismiss:d,...f}=e,m=s.useContext(ed),[h,v]=s.useState(null),g=h?.ownerDocument??globalThis?.document,[,b]=s.useState({}),y=(0,O.useComposedRefs)(r,v),x=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),E=C?x.indexOf(C):-1,j=h?x.indexOf(h):-1,N=m.layersWithOutsidePointerEventsDisabled.size>0,R=j>=E,k=s.useRef(!1),P=eh(e=>{l?.(e),c?.(e),e.defaultPrevented||d?.()},{ownerDocument:g,deferPointerDownOutside:a,isDeferredPointerDownOutsideRef:k,dismissableSurfaces:m.dismissableSurfaces,shouldHandlePointerDownOutside:s.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...m.branches].some(t=>t.contains(e));return R&&!t},[m.branches,R])}),S=ep(e=>{if(a&&k.current)return;let t=e.target;![...m.branches].some(e=>e.contains(t))&&(u?.(e),c?.(e),e.defaultPrevented||d?.())},g),M=!!h&&j===x.length-1,T=es(e=>{"Escape"===e.key&&(o?.(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))});return s.useEffect(()=>{if(M)return g.addEventListener("keydown",T,{capture:!0}),()=>g.removeEventListener("keydown",T,{capture:!0})},[g,M,T]),s.useEffect(()=>{if(h)return i&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(t=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(h)),m.layers.add(h),ev(),()=>{i&&(m.layersWithOutsidePointerEventsDisabled.delete(h),0===m.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=t))}},[h,g,i,m]),s.useEffect(()=>()=>{h&&(m.layers.delete(h),m.layersWithOutsidePointerEventsDisabled.delete(h),ev())},[h,m]),s.useEffect(()=>{let e=eu(()=>b({}),"handleUpdate");return document.addEventListener(ec,e),()=>document.removeEventListener(ec,e)},[]),(0,n.jsx)(w.Primitive.div,{...f,ref:y,style:{pointerEvents:N?R?"auto":"none":void 0,...e.style},onFocusCapture:p(e.onFocusCapture,S.onFocusCapture),onBlurCapture:p(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:p(e.onPointerDownCapture,P.onPointerDownCapture)})},"DismissableLayer"));eu(function(){let e=s.useContext(ed),[t,n]=s.useState(null);return s.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n},"useDismissableLayerSurface");var em=eu(()=>!0,"IS_TRUE");function eh(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=em}=t,l=es(e),u=s.useRef(!1),c=s.useRef(!1),d=s.useRef(new Map),f=s.useRef(()=>{});return s.useEffect(()=>{function e(){c.current=!1,i.current=!1,d.current.clear()}function t(){return Array.from(d.current.values()).some(Boolean)}function s(e){if(!c.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{c.current&&f.current()},0)}function m(e){c.current&&d.current.set(e.type,!1)}eu(e,"resetOutsideInteraction"),eu(t,"isOutsideInteractionIntercepted"),eu(s,"handleInteractionCapture"),eu(m,"handleInteractionBubble");let h=eu(a=>{if(a.target&&!u.current){let s=function(){n.removeEventListener("click",f.current);let r=t();e(),r||eg("dismissableLayer.pointerDownOutside",l,m,{discrete:!0})};if(eu(s,"handleAndDispatchPointerDownOutsideEvent"),!o(a.target)){n.removeEventListener("click",f.current),e(),u.current=!1;return}let m={originalEvent:a};c.current=!0,i.current=r&&0===a.button,d.current.clear(),r&&0===a.button?(n.removeEventListener("click",f.current),f.current=s,n.addEventListener("click",f.current,{once:!0})):s()}else n.removeEventListener("click",f.current),e();u.current=!1},"handlePointerDown"),p=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of p)n.addEventListener(e,s,!0),n.addEventListener(e,m);let v=window.setTimeout(()=>{n.addEventListener("pointerdown",h)},0);return()=>{for(let e of(window.clearTimeout(v),n.removeEventListener("pointerdown",h),n.removeEventListener("click",f.current),p))n.removeEventListener(e,s,!0),n.removeEventListener(e,m)}}
1,[n,l,r,i,a,o]),{onPointerDownCapture:eu(()=>u.current=!0,"onPointerDownCapture")}}function ep(e,t=globalThis?.document){let n=es(e),r=s.useRef(!1);return s.useEffect(()=>{let e=eu(e=>{e.target&&!r.current&&eg("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:eu(()=>r.current=!0,"onFocusCapture"),onBlurCapture:eu(()=>r.current=!1,"onBlurCapture")}}function ev(){let e=new CustomEvent(ec);document.dispatchEvent(e)}function eg(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,w.dispatchDiscreteCustomEvent)(i,a):i.dispatchEvent(a)}function ew(e){let t=s.useRef({value:e,previous:e});return s.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}eu(eh,"usePointerDownOutside"),eu(ep,"useFocusOutside"),eu(ev,"dispatchUpdate"),eu(eg,"handleAndDispatchCustomEvent"),(0,Object.defineProperty)(ew,"name",{value:"usePrevious",configurable:!0});var eb=Object.defineProperty,ey=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"}),ex=s.forwardRef(eb(function(e,t){return(0,n.jsx)(w.Primitive.span,{...e,ref:t,style:{...ey,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0})),eC=Object.defineProperty,eE=(e,t)=>eC(e,"name",{value:t,configurable:!0}),ej="NavigationMenu",[eN,eR,ek]=J(ej),[eP,eS,eM]=J(ej),[eO,eT]=c(ej,[ek,eM]),[eL,eA]=eO(ej),[eD,eI]=eO(ej),eF=s.forwardRef(eE(function(e,t){let{__scopeNavigationMenu:r,value:i,onValueChange:a,defaultValue:o,delayDuration:l=200,skipDelayDuration:u=300,orientation:c="horizontal",dir:d,...f}=e,[m,h]=s.useState(null),p=(0,O.useComposedRefs)(t,h),v=A(d),g=s.useRef(0),b=s.useRef(0),y=s.useRef(0),[x,C]=s.useState(!0),[E,j]=k({prop:i,onChange:eE(e=>{let t=u>0;""!==e?(window.clearTimeout(y.current),t&&C(!1)):(window.clearTimeout(y.current),y.current=window.setTimeout(()=>C(!0),u)),a?.(e)},"onChange"),defaultProp:o??"",caller:ej}),N=s.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>j(""),150)},[j]),R=s.useCallback(e=>{window.clearTimeout(b.current),j(e)},[j]),P=s.useCallback(e=>{E===e?window.clearTimeout(b.current):g.current=window.setTimeout(()=>{window.clearTimeout(b.current),j(e)},l)},[E,j,l]);return s.useEffect(()=>()=>{window.clearTimeout(g.current),window.clearTimeout(b.current),window.clearTimeout(y.current)},[]),(0,n.jsx)(eZ,{scope:r,isRootMenu:!0,value:E,dir:v,orientation:c,rootNavigationMenu:m,onTriggerEnter:e=>{window.clearTimeout(g.current),x?P(e):R(e)},onTriggerLeave:()=>{window.clearTimeout(g.current),N()},onContentEnter:()=>window.clearTimeout(b.current),onContentLeave:N,onItemSelect:e=>{j(t=>t===e?"":e)},onItemDismiss:()=>j(""),children:(0,n.jsx)(w.Primitive.nav,{"aria-label":"Main","data-orientation":c,dir:v,...f,ref:p})})},"NavigationMenu")),eZ=eE(e=>{let{scope:t,isRootMenu:r,rootNavigationMenu:i,dir:a,orientation:o,children:l,value:u,onItemSelect:c,onItemDismiss:d,onTriggerEnter:f,onTriggerLeave:m,onContentEnter:h,onContentLeave:p}=e,[v,g]=s.useState(null),[w,b]=s.useState(new Map),[y,x]=s.useState(null);return(0,n.jsx)(eL,{scope:t,isRootMenu:r,rootNavigationMenu:i,value:u,previousValue:ew(u),baseId:$(),dir:a,orientation:o,viewport:v,onViewportChange:g,indicatorTrack:y,onIndicatorTrackChange:x,onTriggerEnter:es(f),onTriggerLeave:es(m),onContentEnter:es(h),onContentLeave:es(p),onItemSelect:es(c),onItemDismiss:es(d),onViewportContentChange:s.useCallback((e,t)=>{b(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:s.useCallback(e=>{b(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,n.jsx)(eN.Provider,{scope:t,children:(0,n.jsx)(eD,{scope:t,items:w,children:l})})})},"NavigationMenuProvider"),ez=s.forwardRef(eE(function(e,t){let{__scopeNavigationMenu:r,...i}=e,a=eA("NavigationMenuList",r),o=(0,n.jsx)(w.Primitive.ul,{"data-orientation":a.orientation,...i,ref:t});return(0,n.jsx)(w.Primitive.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,n.jsx)(eN.Slot,{scope:r,children:a.isRootMenu?(0,n.jsx)(e1,{asChild:!0,children:o}):o})})},"NavigationMenuList")),[eB,e_]=eO("NavigationMenuItem"),eV=s.forwardRef(eE(function(e,t){let{__scopeNavigationMenu:r,value:i,...a}=e,o=$(),l=s.useRef(null),u=s.useRef(null),c=s.useRef(null),d=s.useRef(()=>{}),f=s.useRef(!1),m=s.useCallback((e="start")=>{if(l.current){d.current();let t=e3(l.current);t.length&&e4("start"===e?t:t.reverse())}},[]),h=s.useCallback(()=>
1{if(l.current){let e=e3(l.current);e.length&&(d.current=e8(e))}},[]);return(0,n.jsx)(eB,{scope:r,value:i||o||"LEGACY_REACT_AUTO_VALUE",triggerRef:u,contentRef:l,focusProxyRef:c,wasEscapeCloseRef:f,onEntryKeyDown:m,onFocusProxyEnter:m,onRootContentClose:h,onContentFocusOutside:h,children:(0,n.jsx)(w.Primitive.li,{...a,ref:t})})},"NavigationMenuItem")),eU="NavigationMenuTrigger",eW=s.forwardRef(eE(function(e,t){let{__scopeNavigationMenu:r,disabled:i,...a}=e,o=eA(eU,e.__scopeNavigationMenu),l=e_(eU,e.__scopeNavigationMenu),u=s.useRef(null),c=(0,O.useComposedRefs)(u,l.triggerRef,t),d=te(o.baseId,l.value),f=tt(o.baseId,l.value),m=s.useRef(!1),h=s.useRef(!1),v=l.value===o.value;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eN.ItemSlot,{scope:r,value:l.value,children:(0,n.jsx)(e2,{asChild:!0,children:(0,n.jsx)(w.Primitive.button,{id:d,disabled:i,"data-disabled":i?"":void 0,"data-state":e9(v),"aria-expanded":v,"aria-controls":v?f:void 0,...a,ref:c,onPointerEnter:p(e.onPointerEnter,()=>{h.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:p(e.onPointerMove,tn(()=>{i||h.current||l.wasEscapeCloseRef.current||m.current||(o.onTriggerEnter(l.value),m.current=!0)})),onPointerLeave:p(e.onPointerLeave,tn(()=>{i||(o.onTriggerLeave(),m.current=!1)})),onClick:p(e.onClick,()=>{o.onItemSelect(l.value),h.current=v}),onKeyDown:p(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===o.dir?"ArrowLeft":"ArrowRight"}[o.orientation];v&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),v&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ex,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,n=e.relatedTarget,r=n===u.current,i=t?.contains(n);(r||!i)&&l.onFocusProxyEnter(r?"start":"end")}}),o.viewport&&(0,n.jsx)("span",{"aria-owns":f})]})]})},"NavigationMenuTrigger")),eH="navigationMenu.linkSelect",eK=s.forwardRef(eE(function(e,t){let{__scopeNavigationMenu:r,active:i,onSelect:a,...o}=e;return(0,n.jsx)(e2,{asChild:!0,children:(0,n.jsx)(w.Primitive.a,{"data-active":i?"":void 0,"aria-current":i?"page":void 0,...o,ref:t,onClick:p(e.onClick,e=>{let t=e.target,n=new CustomEvent(eH,{bubbles:!0,cancelable:!0});if(t.addEventListener(eH,e=>a?.(e),{once:!0}),(0,w.dispatchDiscreteCustomEvent)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(eY,{bubbles:!0,cancelable:!0});(0,w.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})},"NavigationMenuLink")),e$="NavigationMenuContent",eG=s.forwardRef(eE(function(e,t){let{forceMount:r,...i}=e,a=eA(e$,e.__scopeNavigationMenu),o=e_(e$,e.__scopeNavigationMenu),s=(0,O.useComposedRefs)(o.contentRef,t),l=o.value===a.value,u={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...i};return a.viewport?(0,n.jsx)(eq,{forceMount:r,...u,ref:s}):(0,n.jsx)(Z,{present:r||l,children:(0,n.jsx)(eJ,{"data-state":e9(l),...u,ref:s,onPointerEnter:p(e.onPointerEnter,a.onContentEnter),onPointerLeave:p(e.onPointerLeave,tn(a.onContentLeave)),style:{pointerEvents:!l&&a.isRootMenu?"none":void 0,...u.style}})})},"NavigationMenuContent")),eq=s.forwardRef(eE(function(e,t){let{onViewportContentChange:n,onViewportContentRemove:r}=eA(e$,e.__scopeNavigationMenu);return b(()=>{n(e.value,{ref:t,...e})},[e,t,n]),b(()=>()=>r(e.value),[e.value,r]),null},"ViewportContentMounter")),eY="navigationMenu.rootContentDismiss",eJ=s.forwardRef(eE(function(e,t){let{__scopeNavigationMenu:r,value:i,triggerRef:a,focusProxyRef:o,wasEscapeCloseRef:l,onRootContentClose:u,onContentFocusOutside:c,...d}=e,f=eA(e$,r),m=s.useRef(null),h=(0,O.useComposedRefs)(m,t),v=te(f.baseId,i),g=tt(f.baseId,i),w=eR(r),b=s.useRef(null),{onItemDismiss:y}=f;s.useEffect(()=>{let e=m.current;if(f.isRootMenu&&e){let t=eE(()=>{y(),u(),e.contains(document.activeElement)&&a.current?.focus()},"handleClose");return e.addEventListener(eY,t),()=>e.removeEventListener(eY,t)}},[f.isRootMenu,e.value,a,y,u]);let x=s.useMemo(()=>{let e=w().map(e=>e.value);"rtl"===f.dir&&e.reverse();let t=e.indexOf(f.value),n=e.indexOf(f.previousValue),r=i===f.value,a=n===e.indexOf(i);if(!r&&!a)return b.current;let o=(()=>
1{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(a&&-1!==t)return t>n?"to-start":"to-end"}return null})();return b.current=o,o},[f.previousValue,f.value,f.dir,w,i]);return(0,n.jsx)(e1,{asChild:!0,children:(0,n.jsx)(ef,{id:g,"aria-labelledby":v,"data-motion":x,"data-orientation":f.orientation,...d,ref:h,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(eY,{bubbles:!0,cancelable:!0});m.current?.dispatchEvent(e)},onFocusOutside:p(e.onFocusOutside,e=>{c();let t=e.target;f.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:p(e.onPointerDownOutside,e=>{let t=e.target,n=w().some(e=>e.ref.current?.contains(t)),r=f.isRootMenu&&f.viewport?.contains(t);(n||r||!f.isRootMenu)&&e.preventDefault()}),onKeyDown:p(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=e3(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);e4(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():o.current?.focus()}}),onEscapeKeyDown:p(e.onEscapeKeyDown,e=>{l.current=!0})})})},"NavigationMenuContentImpl")),eX="NavigationMenuViewport",eQ=s.forwardRef(eE(function(e,t){let{forceMount:r,...i}=e,a=!!eA(eX,e.__scopeNavigationMenu).value;return(0,n.jsx)(Z,{present:r||a,children:(0,n.jsx)(e0,{...i,ref:t})})},"NavigationMenuViewport")),e0=s.forwardRef(eE(function(e,t){let{__scopeNavigationMenu:r,children:i,...a}=e,o=eA(eX,r),l=(0,O.useComposedRefs)(t,o.onViewportChange),u=eI(e$,e.__scopeNavigationMenu),[c,d]=s.useState(null),[f,m]=s.useState(null),h=c?c?.width+"px":void 0,v=c?c?.height+"px":void 0,g=!!o.value,b=g?o.value:o.previousValue,y=eE(()=>{f&&d({width:f.offsetWidth,height:f.offsetHeight})},"handleSizeChange");return e6(f,y),(0,n.jsx)(w.Primitive.div,{"data-state":e9(g),"data-orientation":o.orientation,...a,ref:l,style:{pointerEvents:!g&&o.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":h,"--radix-navigation-menu-viewport-height":v,...a.style},onPointerEnter:p(e.onPointerEnter,o.onContentEnter),onPointerLeave:p(e.onPointerLeave,tn(o.onContentLeave)),children:Array.from(u.items).map(([e,{ref:t,forceMount:r,...i}])=>{let a=b===e;return(0,n.jsx)(Z,{present:r||a,children:(0,n.jsx)(e5,{...i,contentRef:t,isActive:a,onActiveContentChange:m})},e)})})},"NavigationMenuViewportImpl")),e5=eE(({contentRef:e,isActive:t,onActiveContentChange:r,...i})=>{let a=s.useCallback(e=>{t&&e&&r(e)},[t,r]),o=(0,O.useComposedRefs)(e,a);return(0,n.jsx)(eJ,{...i,ref:o})},"NavigationMenuViewportItem"),e1=s.forwardRef(eE(function(e,t){let{__scopeNavigationMenu:r,...i}=e,a=eA("FocusGroup",r);return(0,n.jsx)(eP.Provider,{scope:r,children:(0,n.jsx)(eP.Slot,{scope:r,children:(0,n.jsx)(w.Primitive.div,{dir:a.dir,...i,ref:t})})})},"FocusGroup")),e7=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],e2=s.forwardRef(eE(function(e,t){let{__scopeNavigationMenu:r,...i}=e,a=eS(r),o=eA("FocusGroupItem",r);return(0,n.jsx)(eP.ItemSlot,{scope:r,children:(0,n.jsx)(w.Primitive.button,{...i,ref:t,onKeyDown:p(e.onKeyDown,e=>{if(["Home","End",...e7].includes(e.key)){let t=a().map(e=>e.ref.current);if(["rtl"===o.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),e7.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>e4(t)),e.preventDefault()}})})})},"FocusGroupItem"));function e3(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:eE(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(;n.nextNode();)t.push(n.currentNode);return t}function e4(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function e8(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 e6(e,t){let n=es(t);b(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function e9(e){return e?"open":"closed"}function te(e,t){return`${e}-trigger-${t}`}function tt(e,t){return`${e}-content-${t}`}function tn(e){return t=>
1"mouse"===t.pointerType?e(t):void 0}eE(e3,"getTabbableCandidates"),eE(e4,"focusFirst"),eE(e8,"removeFromTabOrder"),eE(e6,"useResizeObserver"),eE(e9,"getOpenState"),eE(te,"makeTriggerId"),eE(tt,"makeContentId"),eE(tn,"whenMouse");var tr=e.i(294237),ti=e.i(671595);let ta=(0,tr.cva)("flex cursor-pointer items-center text-nowrap px-3",{variants:{variant:{light:"text-brand-pine-green hover:text-brand-forest-green data-[state=open]:text-brand-forest-green",dark:"text-white hover:text-brand-mint data-[state=open]:text-brand-mint",black:"text-white hover:text-brand-mint data-[state=open]:text-brand-mint"}}}),to=(0,s.forwardRef)(({className:e,variant:t,children:r,...i},a)=>(0,n.jsxs)(eW,{ref:a,className:(0,o.cn)(ta({variant:t}),"group",e),...i,children:[r,(0,n.jsx)(ti.ChevronDownIcon,{className:"relative ml-1 translate-y-[0.05em] stroke-[3px] transition duration-200 group-data-[state=open]:rotate-180",height:14,width:14})]}));to.displayName=eW.displayName;var ts=e.i(483093);let tl=["bg-brand-pine-green","bg-brand-dark-teal","bg-brand-dark","bg-black"],tu=["bg-white","bg-brand-light-grey","bg-brand-eggshell"],tc=e=>{if(!e)return null;for(let t of Array.from(e.classList)){if(tl.some(e=>t.includes(e)))return"dark";if(tu.some(e=>t.includes(e)))return"light"}let t=window.getComputedStyle(e).backgroundColor;if(["rgba(0, 0, 0, 0)","transparent"].includes(t)){let t=e.parentElement;return t?tc(t):null}return(e=>{let t=e.match(/\d+/g);if(!t||t.length<3)return!1;let[n,r,i]=t.map(Number);return(.299*n+.587*r+.114*i)/255<.5})(t)?"dark":"light"};var td=e.i(335180);let tf=["section","main"];var tm=e.i(640063),th=e.i(49862),tp=e.i(659173);let tv=function(){return tp.default.Date.now()};var tg=e.i(673656),tw=Math.max,tb=Math.min;let ty=function(e,t,n){var r,i,a,o,s,l,u=0,c=!1,d=!1,f=!0;if("function"!=typeof e)throw TypeError("Expected a function");function m(t){var n=r,a=i;return r=i=void 0,u=t,o=e.apply(a,n)}function h(e){var n=e-l,r=e-u;return void 0===l||n>=t||n<0||d&&r>=a}function p(){var e,n,r,i=tv();if(h(i))return v(i);s=setTimeout(p,(e=i-l,n=i-u,r=t-e,d?tb(r,a-n):r))}function v(e){return(s=void 0,f&&r)?m(e):(r=i=void 0,o)}function g(){var e,n=tv(),a=h(n);if(r=arguments,i=this,l=n,a){if(void 0===s)return u=e=l,s=setTimeout(p,t),c?m(e):o;if(d)return clearTimeout(s),s=setTimeout(p,t),m(l)}return void 0===s&&(s=setTimeout(p,t)),o}return t=(0,tg.default)(t)||0,(0,th.default)(n)&&(c=!!n.leading,a=(d="maxWait"in n)?tw((0,tg.default)(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f),g.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},g.flush=function(){return void 0===s?o:v(tv())},g},tx=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw TypeError("Expected a function");return(0,th.default)(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ty(e,t,{leading:r,maxWait:t,trailing:i})};var tC=e.i(870708),tE=e.i(385804),tj=e.i(251568);let tN=({title:e,text:t,link:i,image:a,href:o,target:s})=>(0,n.jsxs)("div",{className:"w-[322px] self-stretch bg-brand-light-grey-darker p-10",children:[(0,n.jsx)(r.Link,{href:o,target:s,className:"mb-6 flex h-[182px] w-[242px] items-center justify-center overflow-hidden rounded-3xl bg-brand-lavender",children:a}),(0,n.jsx)(tj.Typography,{variant:"body",className:"mb-1 font-semibold text-brand-black",children:e}),(0,n.jsx)(tj.Typography,{variant:"body-sm",className:"mb-6 text-brand-dark",children:t}),(0,n.jsxs)(r.Link,{href:o,target:s,className:"group flex items-center gap-1 text-sm font-semibold text-brand-light-green hover:text-brand-forest-green",children:[i,(0,n.jsx)(tE.ArrowRightIcon,{width:16,height:16,className:"transition-transform group-hover:translate-x-1"})]})]}),tR=s.forwardRef(({className:e,title:t,description:i,icon:a,iconClassName:s,...l},u)=>(0,n.jsx)("li",{children:(0,n.jsx)(eK,{asChild:!0,children:(0,n.jsxs)(r.Link,{ref:u,className:(0,o.cn)("flex gap-4 rounded-2xl p-3 no-underline outline-hidden transition-colors hover:bg-brand-light-grey-darker focus:bg-brand-light-grey-darker",e),...l,children:[(0,n.jsx)("div",{className:(0,o.cn)("flex size-[48px] shrink-0 items-center justify-center rounded-xl bg-brand-lavender text-brand-dark-green",s),children:a}),(0,n.jsxs)("div",{children:[(0,n.jsx)(tj.Typography,{variant:"body",className:"mb-0.5 font-semibold text-brand-black",children:t}),(0,n.jsx)(tj.Typography,{variant:"body-sm",className:"line-clamp-2 text-brand-dark",children:i})]})]})})}));tR.displayName="Link";let tk=({links:e})=>(0,n.jsx)("ul",{className:"grid flex-1 grid-cols-1 gap-3 p-10 xl:grid-cols-2",children:e.map(e=>(0,n.jsx)(tR,{...e},e.title))}),tP=(0,s.forwardRef)(({className:e,...t},r)=>(0,n.jsx)("div",{className:(0,o.cn)("absolute top-[44px] right-L left-L max-w-[1280px] pt-[20px] md:right-10 md:left-10 xl:right-20 xl:left-20"),children:(0,n.jsx)(eQ,{className:(0,o.cn)("relative h-(--radix-navigation-menu-viewport-height) origin-top overflow-hidden rounded-3.5xl bg-white shadow-2xl transition-all data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-90 data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90",e),ref:r,...t})}));tP.displayName=eQ.displayName;let tS=(0,s.forwardRef)(({className:e,children:t,...r},i)=>(0,n.jsxs)(eF,{ref:i,className:(0,o.cn)("flex items-center justify-center",e),...r,children:[t,(0,n.jsx)(tP,{})]}));tS.displayName=eF.displayName;let tM=(0,s.forwardRef)(({className:e,children:t,...r},i)=>(0,n.jsx)(eG,{ref:i,className:(0,o.cn)("top-0 left-0 flex w-full items-start data-[motion=from-end]:absolute data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:absolute data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:absolute data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:absolute data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out",e),...r,children:t}));tM.displayName=eG.displayName;let tO=(0,s.forwardRef)(({className:e,...t},r)=>(0,n.jsx)(ez,{ref:r,className:(0,o.cn)("flex flex-1 list-none items-center justify-center",e),...t}));tO.displayName=ez.displayName;let tT=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{fillRule:"evenodd",d:"M14.615 1.595a.75.75 0 0 1 .359.852L12.982 9.75h7.268a.75.75 0 0 1 .548 1.262l-10.5 11.25a.75.75 0 0 1-1.272-.71l1.992-7.302H3.75a.75.75 0 0 1-.548-1.262l10.5-11.25a.75.75 0 0 1 .913-.143Z",clipRule:"evenodd"}))}),tL=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{d:"M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z"}))}),tA=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{d:"M11.25 4.533A9.707 9.707 0 0 0 6 3a9.735 9.735 0 0 0-3.25.555.75.75 0 0 0-.5.707v14.25a.75.75 0 0 0 1 .707A8.237 8.237 0 0 1 6 18.75c1.995 0 3.823.707 5.25 1.886V4.533ZM12.75 20.636A8.214 8.214 0 0 1 18 18.75c.966 0 1.89.166 2.75.47a.75.75 0 0 0 1-.708V4.262a.75.75 0 0 0-.5-.707A9.735 9.735 0 0 0 18 3a9.707 9.707 0 0 0-5.25 1.533v16.103Z"}))}),tD=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{fillRule:"evenodd",d:"M7.5 5.25a3 3 0 0 1 3-3h3a3 3 0 0 1 3 3v.205c.933.085 1.857.197 2.774.334 1.454.218 2.476 1.483 2.476 2.917v3.033c0 1.211-.734 2.352-1.936 2.752A24.726 24.726 0 0 1 12 15.75c-2.73 0-5.357-.442-7.814-1.259-1.202-.4-1.936-1.541-1.936-2.752V8.706c0-1.434 1.022-2.7 2.476-2.917A48.814 48.814 0 0 1 7.5 5.455V5.25Zm7.5 0v.09a49.488 49.488 0 0 0-6 0v-.09a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 1.5 1.5Zm-3 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}),s.createElement("path",{d:"M3 18.4v-2.796a4.3 4.3 0 0 0 .713.31A26.226 26.226 0 0 0 12 17.25c2.892 0 5.68-.468 8.287-1.335.252-.084.49-.189.713-.311V18.4c0 1.452-1.047 2.728-2.523 2.923-2.12.282-4.282.427-6.477.427a49.19 49.19 0 0 1-6.477-.427C4.047 21.128 3 19.852 3 18.4Z"}))}),tI=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{fillRule:"evenodd",d:"M6.32 1.827a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93V19.5a3 3 0 0 1-3 3H6.75a3 3 0 0 1-3-3V4.757c0-1.47 1.073-2.756 2.57-2.93ZM7.5 11.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H8.25Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75H8.25Zm1.748-6a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.007Zm-.75 3a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.007Zm1.754-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.008Zm1.748-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-8.25-6A.75.75 0 0 1 8.25 6h7.5a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75v-.75Zm9 9a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-2.25Z",clipRule:"evenodd"}))}),tF=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{d:"M4.913 2.658c2.075-.27 4.19-.408 6.337-.408 2.147 0 4.262.139 6.337.408 1.922.25 3.291 1.861 3.405 3.727a4.403 4.403 0 0 0-1.032-.211 50.89 50.89 0 0 0-8.42 0c-2.358.196-4.04 2.19-4.04 4.434v4.286a4.47 4.47 0 0 0 2.433 3.984L7.28 21.53A.75.75 0 0 1 6 21v-4.03a48.527 48.527 0 0 1-1.087-.128C2.905 16.58 1.5 14.833 1.5 12.862V6.638c0-1.97 1.405-3.718 3.413-3.979Z"}),s.createElement("path",{d:"M15.75 7.5c-1.376 0-2.739.057-4.086.169C10.124 7.797 9 9.103 9 10.609v4.285c0 1.507 1.128 2.814 2.67 2.94 1.243.102 2.5.157 3.768.165l2.782 2.781a.75.75 0 0 0 1.28-.53v-2.39l.33-.026c1.542-.125 2.67-1.433 2.67-2.94v-4.286c0-1.505-1.125-2.811-2.664-2.94A49.392 49.392 0 0 0 15.75 7.5Z"}))}),tZ=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 0 1-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 0 1-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 0 1-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584ZM12 18a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}),tz=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{d:"M21.721 12.752a9.711 9.711 0 0 0-.945-5.003 12.754 12.754 0 0 1-4.339 2.708 18.991 18.991 0 0 1-.214 4.772 17.165 17.165 0 0 0 5.498-2.477ZM14.634 15.55a17.324 17.324 0 0 0 .332-4.647c-.952.227-1.945.347-2.966.347-1.021 0-2.014-.12-2.966-.347a17.515 17.515 0 0 0 .332 4.647 17.385 17.385 0 0 0 5.268 0ZM9.772 17.119a18.963 18.963 0 0 0 4.456 0A17.182 17.182 0 0 1 12 21.724a17.18 17.18 0 0 1-2.228-4.605ZM7.777 15.23a18.87 18.87 0 0 1-.214-4.774 12.753 12.753 0 0 1-4.34-2.708 9.711 9.711 0 0 0-.944 5.004 17.165 17.165 0 0 0 5.498 2.477ZM21.356 14.752a9.765 9.765 0 0 1-7.478 6.817 18.64 18.64 0 0 0 1.988-4.718 18.627 18.627 0 0 0 5.49-2.098ZM2.644 14.752c1.682.971 3.53 1.688 5.49 2.099a18.64 18.64 0 0 0 1.988 4.718 9.765 9.765 0 0 1-7.478-6.816ZM13.878 2.43a9.755 9.755 0 0 1 6.116 3.986 11.267 11.267 0 0 1-3.746 2.504 18.63 18.63 0 0 0-2.37-6.49ZM12 2.276a17.152 17.152 0 0 1 2.805 7.121c-.897.23-1.837.353-2.805.353-.968 0-1.908-.122-2.805-.353A17.151 17.151 0 0 1 12 2.276ZM10.122 2.43a18.629 18.629 0 0 0-2.37 6.49 11.266 11.266 0 0 1-3.746-2.504 9.754 9.754 0 0 1 6.116-3.985Z"}))}),tB={src:e.i(584098).default,width:24,height:24,blurWidth:0,blurHeight:0},t_={src:e.i(880886).default,width:24,height:24,blurWidth:0,blurHeight:0},tV={src:e.i(415394).default,width:24,height:24,blurWidth:0,blurHeight:0},tU={title:"Accounts Payable Automation",description:"Make bill payments to your vendors via ACH, wire, or check in minutes.",href:tC.apAutomationPagePath,icon:(0,n.jsx)(tT,{className:"size-6"})},tW={title:"Procurement",description:"Issue purchase orders, manage work orders, and automate your landed costs.",href:tC.procurementPagePath,icon:(0,n.jsx)(tm.default,{priority:!0,src:tB,alt:"Purchase Orders",width:24,height:24})},tH={title:"Working Capital",description:"Flexible financing to fund inventory or growth initiatives without giving up equity.",href:tC.workingCapitalPagePath,icon:(0,n.jsx)(tI,{className:"size-6"})},tK={title:"Startups",description:"The simple, automated back office you need now, that helps you grow faster.",href:tC.earlyStageStartupsPagePath,icon:(0,n.jsx)(tm.default,{priority:!0,src:t_,alt:"Purchase Orders",width:24,height:24})},t$={title:"Become a Settle Partner",description:"Join a powerful ecosystem of trusted service providers for consumer brands.",href:tC.becomeAPartnerPagePath,icon:(0,n.jsx)(tL,{className:"size-6"})}
1,tG={title:"Scale-ups",description:"Eliminate spreadsheets, and unify your procurement, payments and costing in Settle.",href:tC.scalingStartupsPagePath,icon:(0,n.jsx)(tm.default,{priority:!0,src:tV,alt:"Purchase Orders",width:24,height:24})},tq={title:"Partner Directory",description:"Need help? Use Settle's Partner directory to find a professional.",href:a.partnersPageUrl,icon:(0,n.jsx)(tD,{className:"size-6"})},tY={title:"Tariffs Management",description:"Get the tools to manage landed costs, billing, and cash flow during tariff shifts.",href:tC.settleForTariffsPagePath,icon:(0,n.jsx)(tz,{className:"size-6"})},tJ={title:"Accountants",description:"Spend more time advising and less time manually closing and reconciling client books.",href:tC.forAccountantsPagePath,icon:(0,n.jsx)(tI,{className:"size-6"})},tX={title:"Customer Stories",description:"Hear how brands like you have scaled their business with Settle's back office software and financing.",href:tC.caseStudiesPagePath,icon:(0,n.jsx)(tF,{className:"size-6"})},tQ={title:"Working Capital Calculator",description:"Discover your eligibility estimate with our simple calculator.",href:tC.calculatorPagePath,icon:(0,n.jsx)(tI,{className:"size-6"})},t0={title:"Blog",description:"Tips, guides, and CPG industry trends for founders and e-commerce brands.",href:tC.blogPagePath,icon:(0,n.jsx)(tA,{className:"size-6"})},t5={title:"Help Center",description:"Find the help and docs you need to get started with Settle.",href:a.helpCenterUrl,icon:(0,n.jsx)(tZ,{className:"size-6"})},t1={dark:"rgba(0, 77, 59, 0.75)",light:"rgba(247, 246, 245, 0.5)",black:"rgba(0, 0, 0, 0.75)"},{ourProducts:t7,ourSolutions:t2,resources:t3}={ourProducts:[tU,tW,tH],ourSolutions:[tK,t$,tG,tq,tJ,tY],resources:[tX,tQ,t0,t5]},t4=({variant:e,className:t})=>{let[i,o]=(0,s.useState)(""),l=(0,s.useRef)(null),u=(0,s.useCallback)(e=>{o(e)},[]),c=(0,s.useMemo)(()=>tx(u,300,{leading:!0,trailing:!1}),[u]),d=e=>{"open"===e.currentTarget.getAttribute("data-state")&&c("")};return(0,n.jsx)(tS,{value:i,className:t,onMouseLeave:()=>{l.current=window.setTimeout(()=>{o("")},300)},onMouseEnter:()=>{l.current&&(clearTimeout(l.current),l.current=null)},onValueChange:e=>{e&&c(e)},children:(0,n.jsxs)(tO,{children:[(0,n.jsxs)(eV,{value:"products",children:[(0,n.jsx)(to,{onClick:d,variant:e,children:"Products"}),(0,n.jsxs)(tM,{children:[(0,n.jsx)(tk,{links:t7}),(0,n.jsx)(tN,{title:"Get the most out of Settle",text:"Simplify your cash flow, streamline operations, and scale faster, all in one place.",href:a.navatticUrls.platform,target:"_blank",link:"Take a quick tour",image:(0,n.jsx)(tm.default,{src:"/graphics/navigation/navatic-demo.png",alt:"Demo",priority:!0,width:208,he
1ight:129,className:"rounded-xl shadow-md"})})]})]}),(0,n.jsxs)(eV,{value:"solutions",children:[(0,n.jsx)(to,{onClick:d,variant:e,children:"Solutions"}),(0,n.jsxs)(tM,{children:[(0,n.jsx)(tk,{links:t2}),(0,n.jsx)(tN,{title:"Connect Settle with your Shopify Storefront",text:"Save time, reduce errors, and elevate your financial visibility by uniting your eCommerce operations in Settle.",image:(0,n.jsx)(tm.default,{priority:!0,src:"/graphics/navigation/integrations.png",alt:"Shopify",width:242,height:182}),href:tC.integrationsShopify,link:"See how"})]})]}),(0,n.jsxs)(eV,{value:"resources",children:[(0,n.jsx)(to,{onClick:d,variant:e,children:"Resources"}),(0,n.jsxs)(tM,{children:[(0,n.jsx)(tk,{links:t3}),(0,n.jsx)(tN,{title:"Settle Powers Arraeâs Product Launch",text:"Arrae, a wellness company co-founded by Nish Samantray and Siff Haider, recently launched their newest product, âConstipationâ. ",image:(0,n.jsx)(tm.default,{priority:!0,src:"/graphics/navigation/case-studies.png",alt:"Arrae",width:242,height:182}),href:"/case-studies/arrae?interestedIn=working-capital",link:"See case study"})]})]}),(0,n.jsx)(eV,{children:(0,n.jsx)(eK,{asChild:!0,className:ta({variant:e}),children:(0,n.jsx)(r.Link,{href:tC.caseStudiesPagePath,children:"Customers"})})}),(0,n.jsx)(eV,{children:(0,n.jsx)(eK,{asChild:!0,className:ta({variant:e}),children:(0,n.jsx)(r.Link,{href:tC.pricingPagePath,children:"Pricing"})})})]})})};var t8=e.i(725596),t6=e.i(746097),t9=e.i(367600),ne=e.i(999061);let nt=(0,s.forwardRef)(({open:e,className:t,variant:r="dark",...i},a)=>(0,n.jsx)("button",{className:(0,o.cn)("group cursor-pointer",t),...i,ref:a,children:(0,ne.times)(3,t=>(0,n.jsx)("span",{className:(0,o.cn)("block h-0.5 w-6 transition-all duration-200 sm:w-8",{"bg-brand-lavender group-hover:bg-brand-forest-green":["dark","black"].includes(r),"bg-brand-pine-green group-hover:bg-brand-forest-green":"light"===r,"my-1.5":1===t,"first:origin-center first:translate-y-2 first:rotate-45 last:-translate-y-2 last:-rotate-45 even:opacity-0":e})},t))}));nt.displayName="HamburgerButton";let nn=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{d:"M10.464 8.746c.227-.18.497-.311.786-.394v2.795a2.252 2.252 0 0 1-.786-.393c-.394-.313-.546-.681-.546-1.004 0-.323.152-.691.546-1.004ZM12.75 15.662v-2.824c.347.085.664.228.921.421.427.32.579.686.579.991 0 .305-.152.671-.579.991a2.534 2.534 0 0 1-.921.42Z"}),s.createElement("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v.816a3.836 3.836 0 0 0-1.72.756c-.712.566-1.112 1.35-1.112 2.178 0 .829.4 1.612 1.113 2.178.502.4 1.102.647 1.719.756v2.978a2.536 2.536 0 0 1-.921-.421l-.879-.66a.75.75 0 0 0-.9 1.2l.879.66c.533.4 1.169.645 1.821.75V18a.75.75 0 0 0 1.5 0v-.81a4.124 4.124 0 0 0 1.821-.749c.745-.559 1.179-1.344 1.179-2.191 0-.847-.434-1.632-1.179-2.191a4.122 4.122 0 0 0-1.821-.75V8.354c.29.082.559.213.786.393l.415.33a.75.75 0 0 0 .933-1.175l-.415-.33a3.836 3.836 0 0 0-1.719-.755V6Z",clipRule:"evenodd"}))});var nr=e.i(170586);let ni=({title:e,links:t=[]})=>(0,n.jsxs)("li",{className:"py-3",children:[e&&(0,n.jsx)(tj.Typography,{variant:"body-lg",className:"mb-3 font-medium text-brand-pine-green",children:e}),(0,n.jsx)("ul",{className:"flex flex-col gap-3",children:t.map(({title:e,href:t,icon:i,iconClassName:a},s)=>(0,n.jsx)("li",{children:(0,n.jsxs)(r.Link,{href:t,className:"flex items-center gap-3 py-3",children:[(0,n.jsx)("div",{className:(0,o.cn)("flex size-8 shrink-0 items-center justify-center rounded-md bg-brand-lavender text-brand-dark-green",a),children:i}),(0,n.jsx)(tj.Typography,{variant:"body",className:"font-semibold text-brand-black",children:e})]})},s))})]}),{ourProducts:na,ourSolutions:no,resources:ns}={ourProducts:[tW,tU,tH],ourSolutions:[tK,tG,tJ,t$,tq,tY],resources:[tX,t0,t5,tQ]},nl=(0,s.forwardRef)((e,t)=>(0,n.jsxs)("nav",{ref:t,...e,children:[(0,n.jsxs)("ul",{className:"pt-3",children:[(0,n.jsx)(ni,{links:na,title:"Our Products"}),(0,n.jsx)(ni,{links:no,title:"Our Solutions"}),(0,n.jsx)(ni,{links:ns,title:"Resources"}),(0,n.jsx)("hr",{className:"border-brand-lavender"}),(0,n.jsx)(ni,{links:[{title:"Pricing",href:tC.pricingPagePath,icon:(0,n.jsx)(nn,{className:"size-6"})}]})]}),(0,n.jsx)(nr.Button,{asChild:!0,variant:"primary",className:"my-S shrink-0 self-start",children:(0,n.jsx)(r.Link,{href:a.appLoginUrl,children:"Log in"})})]}));
1nl.displayName="Dropdown";let nu=(0,s.forwardRef)(({className:e,variant:t="dark",onOpenChange:r,...i},a)=>{let l=(0,s.useRef)(null),u=(0,s.useRef)(null),c="lg"===(0,t9.useTailwindBreakpoint)().name,[d,f]=(0,s.useState)(!1),m=(0,t6.usePathname)();return(0,s.useEffect)(()=>{c&&f(!1)},[c]),(0,s.useEffect)(()=>{f(!1)},[m]),(0,s.useEffect)(()=>{r(d)},[d,r]),(0,s.useEffect)(()=>{let e="overflow-hidden";return d?document.body.classList.add(e):document.body.classList.remove(e),()=>{document.body.classList.remove(e)}},[d]),(0,s.useLayoutEffect)(()=>{if(d){if(!u.current||!l.current)return;let e=l.current.getBoundingClientRect(),t=window.innerHeight-e.bottom;u.current.style.height=`${t}px`}},[d]),(0,n.jsxs)("div",{ref:a,className:(0,o.cn)("-my-3 flex h-12 items-center justify-center lg:hidden",e),...i,children:[(0,n.jsx)(nt,{open:d,ref:l,variant:t,onClick:()=>f(e=>!e),className:"ml-3.5 md:ml-5"}),(0,n.jsx)(t8.Transition,{show:d,as:nl,unmount:!1,ref:u,className:"absolute inset-x-0 top-full bottom-0 z-30 w-screen overflow-auto bg-white px-S pb-9",enter:"transition-all duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-all duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0"})]})});nu.displayName="HamburgerNavigation";var nc=e.i(450640),nd=e.i(561082),nf=e.i(827353);let nm=({label:e="Get started",mode:t="link",className:i,variant:l,href:u,form:c,hideOnMobileUntilScroll:d,revealAfterScroll:f})=>{let[m,h]=(0,s.useState)(void 0===d||window.scrollY>=d),[p,v]=(0,s.useState)(void 0===f);(0,s.useEffect)(()=>{if(void 0===d)return;let e=()=>{h(window.scrollY>=d)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[d]),(0,s.useEffect)(()=>{if(void 0===f)return;let e=()=>{v(window.scrollY>=f)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[f]);let g=(0,o.cn)(i,"max-sm:h-6 max-sm:px-3",void 0!==d&&"transition-opacity duration-200 lg:!pointer-events-auto lg:!opacity-100",void 0!==d&&!m&&"max-lg:pointer-events-none max-lg:opacity-0",void 0!==f&&"transition-opacity duration-200",void 0!==f&&!p&&"pointer-events-none opacity-0");if(c)return(0,n.jsx)(nd.OpenFormDialogButton,{size:"small",form:c,label:e,variant:l,className:g});if("scroll"===t&&!u)return(0,n.jsx)(nc.ScrollTopButton,{size:"small",label:e,variant:l,className:g});let w=u??a.appOnboardingUrl;return(0,n.jsx)(nr.Button,{size:"small",asChild:!0,variant:l,className:g,children:(0,n.jsx)(r.Link,{href:w,onClick:()=>(0,nf.trackEvent)("nav_get_started_click",{label:e}),children:e})})};var nh=e.i(408700);let np={sm:"sm:bg-transparent",md:"md:bg-transparent",lg:"lg:bg-transparent",xl:"xl:bg-transparent","2xl":"2xl:bg-transparent"};e.s(["Header",0,({defaultVariant:e="dark",dynamicVariant:t=!0,className:l,slotProps:u,slots:{logo:c=i.SettleLogo}={}})=>{let d=(({logoOffset:e})=>{let t="number"==typeof e,[n,r]=(0,s.useState)(!t),i=(0,s.useCallback)(()=>{t&&r(window.scrollY>e)},[e,t]);return(0,s.useEffect)(()=>{if(t)return i(),window.addEventListener("scroll",i,{passive:!0}),()=>{window.removeEventListener("scroll",i)}},[i,e,t]),n})({logoOffset:u?.logo?.offset}),{color:f,responsiveClassName:m}=(e=>{let t;if(!e)return{color:void 0,responsiveClassName:""};if("string"==typeof e)return{color:e,responsiveClassName:""};let n=[];for(let r of[...nh.TAILWIND_BREAKPOINTS].reverse()){let i=e[r];i&&(void 0===t&&(t=i),"transparent"===i&&np[r]&&n.push(np[r]))}return{color:t,responsiveClassName:n.join(" ")}})(u?.root?.backgroundColor),h="number"==typeof u?.logo?.offset?u.logo.offset:0,{withDefaultBackground:p,isScrolled:v,onHandleHamburgerNavigationOpen:g}=(0,ts.useHeaderScrollState)({customBackgroundColor:f,backgroundScrollThreshold:u?.root?.backgroundScrollThreshold??("transparent"===f?h:0)}),w=((e="dark",{enabled:t=!0}={})=>{let[n,r]=(0,s.useState)(e),i=(0,s.useCallback)(()=>{if(!t)return void r(e);let n=tc((()=>{if("u"<typeof document)return null;let{headerElementsOffset:e}=td.useLayoutStore.getState(),t=window.scrollY,n=t+e,r=document.querySelectorAll(tf.join(", ")),i=null;for(let e of Array.from(r)){let r=e.getBoundingClientRect(),a=r.top+t,o=a+r.height;n>=a&&n<=o&&(!i||i.contains(e))&&(i=e)}if(i)return i;let a=document.elementFromPoint(window.innerWidth/2,e);return a?a.closest(tf.join(", "))||a:document.body})());switch(n){case"dark":case"light":r(n);break;default:r(e)}},[e,t]);return(0,s.useEffect)(()=>
1{if(!t)return void r(e);i();let n=!1,a=()=>{n||(n=!0,window.requestAnimationFrame(()=>{i(),n=!1}))};return window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",i,{passive:!0}),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",i)}},[i,t,e]),n})(e,{enabled:t&&v&&!(f&&"transparent"!==f)}),b=m.length>0&&!p,y=u?.getStartedButton?.variant,x=y??(["dark","black"].includes(w)?"primary-light":"primary"),C=y??(p?x:"primary"),E=!u?.navigation?.hidden||!u?.getStartedButton?.hidden,j=(()=>{if(!b)return v?p?u?.root?.variantColors?.[w]??t1[w]:f||"rgba(255, 255, 255, 0.8)":p?void 0:f})(),N=p&&!v||b,R=(0,o.cn)({"ml-3":!u?.navigation?.hidden},u?.getStartedButton?.className);return(0,n.jsx)("header",{className:(0,o.cn)("sticky inset-x-0 top-0 z-30 transition-all duration-300",l,b&&m,{"bg-brand-pine-green":"dark"===w&&N,"bg-brand-light-grey":"light"===w&&N,"bg-black":"black"===w&&N,"backdrop-blur-md":v}),style:{backgroundColor:j},children:(0,n.jsxs)("div",{className:(0,o.cn)("relative flex min-h-header-height items-center bg-inherit px-6 py-2.5 sm:px-10",{"border-b border-black/7":"light"===w}),children:[(0,n.jsx)(r.Link,{href:"/",className:(0,o.cn)("transition-opacity duration-300",{"pointer-events-none opacity-0":!d,"opacity-100":d}),children:(0,n.jsx)(c,{...u?.logo,className:(0,o.cn)("h-6 max-w-20 shrink-0 sm:h-auto md:max-w-24",{"text-brand-eggshell":["dark","black"].includes(w),"text-brand-pine-green":"light"===w})})}),!u?.navigation?.hidden&&(0,n.jsx)(t4,{variant:w,className:"mx-10 hidden lg:block",...u?.navigation}),E&&(0,n.jsxs)("div",{className:"ml-auto flex items-center justify-center",children:[!u?.navigation?.hidden&&(0,n.jsx)(r.Link,{href:a.appLoginUrl,className:(0,o.cn)(ta({variant:w}),"hidden sm:flex"),children:"Log in"}),!u?.getStartedButton?.hidden&&(b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(nm,{...u?.getStartedButton,variant:x,mode:u?.getStartedButton?.hidden?"scroll":"link",className:(0,o.cn)(R,"lg:hidden")}),(0,n.jsx)(nm,{...u?.getStartedButton,variant:y??"primary",mode:u?.getStartedButton?.hidden?"scroll":"link",className:(0,o.cn)(R,"hidden lg:flex")})]}):(0,n.jsx)(nm,{...u?.getStartedButton,variant:C,mode:u?.getStartedButton?.hidden?"scroll":"link",className:R})),!u?.navigation?.hidden&&(0,n.jsx)(nu,{variant:w,onOpenChange:g})]})]})})}],229868)}]);
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.