1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,7400,e=>{"use strict";var t=e.i(4350),o=e.i(35974),r=e.i(26428),n=e.i(44642),s=e.i(78754),a=e.i(21957);let i=(0,e.i(10918).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var l=e.i(17221),d=e.i(56902),c=e.i(40091),u=e.i(88453),p=e.i(9413),m=e.i(91967),f=e.i(58251),h=e.i(36567),x=e.i(22353),g=e.i(75649),v=e.i(7677),j=e.i(11207),b=e.i(29687),w=e.i(59660),k=e.i(9641),y=e.i(18731),N=e.i(88248),C=e.i(74481),R="NavigationMenu",[L,M,E]=(0,b.createCollection)(R),[P,T,S]=(0,b.createCollection)(R),[A,I]=(0,p.createContextScope)(R,[E,S]),[z,H]=A(R),[D,_]=A(R),B=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,value:s,onValueChange:a,defaultValue:i,delayDuration:l=200,skipDelayDuration:d=300,orientation:c="horizontal",dir:u,...p}=e,[m,v]=n.useState(null),j=(0,x.useComposedRefs)(o,e=>v(e)),b=(0,g.useDirection)(u),w=n.useRef(0),k=n.useRef(0),y=n.useRef(0),[N,C]=n.useState(!0),[L,M]=(0,h.useControllableState)({prop:s,onChange:e=>{let t=d>0;""!==e?(window.clearTimeout(y.current),t&&C(!1)):(window.clearTimeout(y.current),y.current=window.setTimeout(()=>C(!0),d)),a?.(e)},defaultProp:i??"",caller:R}),E=n.useCallback(()=>{window.clearTimeout(k.current),k.current=window.setTimeout(()=>M(""),150)},[M]),P=n.useCallback(e=>{window.clearTimeout(k.current),M(e)},[M]),T=n.useCallback(e=>{L===e?window.clearTimeout(k.current):w.current=window.setTimeout(()=>{window.clearTimeout(k.current),M(e)},l)},[L,M,l]);return n.useEffect(()=>()=>{window.clearTimeout(w.current),window.clearTimeout(k.current),window.clearTimeout(y.current)},[]),(0,t.jsx)(V,{scope:r,isRootMenu:!0,value:L,dir:b,orientation:c,rootNavigationMenu:m,onTriggerEnter:e=>{window.clearTimeout(w.current),N?T(e):P(e)},onTriggerLeave:()=>{window.clearTimeout(w.current),E()},onContentEnter:()=>window.clearTimeout(k.current),onContentLeave:E,onItemSelect:e=>{M(t=>t===e?"":e)},onItemDismiss:()=>M(""),children:(0,t.jsx)(f.Primitive.nav,{"aria-label":"Main","data-orientation":c,dir:b,...p,ref:j})})});B.displayName=R;var F="NavigationMenuSub";n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,value:n,onValueChange:s,defaultValue:a,orientation:i="horizontal",...l}=e,d=H(F,r),[c,u]=(0,h.useControllableState)({prop:n,onChange:s,defaultProp:a??"",caller:F});return(0,t.jsx)(V,{scope:r,isRootMenu:!1,value:c,dir:d.dir,orientation:i,rootNavigationMenu:d.rootNavigationMenu,onTriggerEnter:e=>u(e),onItemSelect:e=>u(e),onItemDismiss:()=>u(""),children:(0,t.jsx)(f.Primitive.div,{"data-orientation":i,...l,ref:o})})}).displayName=F;var V=e=>{let{scope:o,isRootMenu:r,rootNavigationMenu:s,dir:a,orientation:i,children:l,value:d,onItemSelect:c,onItemDismiss:u,onTriggerEnter:p,onTriggerLeave:m,onContentEnter:f,onContentLeave:h}=e,[x,g]=n.useState(null),[v,b]=n.useState(new Map),[w,y]=n.useState(null);return(0,t.jsx)(z,{scope:o,isRootMenu:r,rootNavigationMenu:s,value:d,previousValue:(0,k.usePrevious)(d),baseId:(0,j.useId)(),dir:a,orientation:i,viewport:x,onViewportChange:g,indicatorTrack:w,onIndicatorTrackChange:y,onTriggerEnter:(0,N.useCallbackRef)(p),onTriggerLeave:(0,N.useCallbackRef)(m),onContentEnter:(0,N.useCallbackRef)(f),onContentLeave:(0,N.useCallbackRef)(h),onItemSelect:(0,N.useCallbackRef)(c),onItemDismiss:(0,N.useCallbackRef)(u),onViewportContentChange:n.useCallback((e,t)=>{b(o=>(o.set(e,t),new Map(o)))},[]),onViewportContentRemove:n.useCallback(e=>{b(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(L.Provider,{scope:o,children:(0,t.jsx)(D,{scope:o,items:v,children:l})})})},U="NavigationMenuList",W=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,...n}=e,s=H(U,r),a=(0,t.jsx)(f.Primitive.ul,{"data-orientation":s.orientation,...n,ref:o});return(0,t.jsx)(f.Primitive.div,{style:{position:"relative"},ref:s.onIndicatorTrackChange,children:(0,t.jsx)(L.Slot,{scope:r,children:s.isRootMenu?(0,t.jsx)(el,{asChild:!0,children:a}):a})})});W.displayName=U;var K="NavigationMenuItem",[O,G]=A(K),$=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,value:s,...a}=e,i=(0,j.useId)(),l=n.useRef(null),d=n.useRef(null),c=n.useRef(null),u=n.useRef(()=>{}),p=n.useRef(!1),m=n.useCallback((e="start")=>{if(l.current){u.current();let t=eu(l.current);t.length&&ep("start"===e?t:t.reverse())}},[]),h=n.useCallback(()=>
1{if(l.current){var e;let t=eu(l.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),u.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)(O,{scope:r,value:s||i||"LEGACY_REACT_AUTO_VALUE",triggerRef:d,contentRef:l,focusProxyRef:c,wasEscapeCloseRef:p,onEntryKeyDown:m,onFocusProxyEnter:m,onRootContentClose:h,onContentFocusOutside:h,children:(0,t.jsx)(f.Primitive.li,{...a,ref:o})})});$.displayName=K;var Y="NavigationMenuTrigger",q=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,disabled:s,...a}=e,i=H(Y,e.__scopeNavigationMenu),l=G(Y,e.__scopeNavigationMenu),d=n.useRef(null),c=(0,x.useComposedRefs)(d,l.triggerRef,o),u=eh(i.baseId,l.value),p=ex(i.baseId,l.value),h=n.useRef(!1),g=n.useRef(!1),v=l.value===i.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(L.ItemSlot,{scope:r,value:l.value,children:(0,t.jsx)(ec,{asChild:!0,children:(0,t.jsx)(f.Primitive.button,{id:u,disabled:s,"data-disabled":s?"":void 0,"data-state":ef(v),"aria-expanded":v,"aria-controls":p,...a,ref:c,onPointerEnter:(0,m.composeEventHandlers)(e.onPointerEnter,()=>{g.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:(0,m.composeEventHandlers)(e.onPointerMove,eg(()=>{s||g.current||l.wasEscapeCloseRef.current||h.current||(i.onTriggerEnter(l.value),h.current=!0)})),onPointerLeave:(0,m.composeEventHandlers)(e.onPointerLeave,eg(()=>{s||(i.onTriggerLeave(),h.current=!1)})),onClick:(0,m.composeEventHandlers)(e.onClick,()=>{i.onItemSelect(l.value),g.current=v}),onKeyDown:(0,m.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===i.dir?"ArrowLeft":"ArrowRight"}[i.orientation];v&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),v&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.Root,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,o=e.relatedTarget,r=o===d.current,n=t?.contains(o);(r||!n)&&l.onFocusProxyEnter(r?"start":"end")}}),i.viewport&&(0,t.jsx)("span",{"aria-owns":p})]})]})});q.displayName=Y;var X="navigationMenu.linkSelect",J=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,active:n,onSelect:s,...a}=e;return(0,t.jsx)(ec,{asChild:!0,children:(0,t.jsx)(f.Primitive.a,{"data-active":n?"":void 0,"aria-current":n?"page":void 0,...a,ref:o,onClick:(0,m.composeEventHandlers)(e.onClick,e=>{let t=e.target,o=new CustomEvent(X,{bubbles:!0,cancelable:!0});if(t.addEventListener(X,e=>s?.(e),{once:!0}),(0,f.dispatchDiscreteCustomEvent)(t,o),!o.defaultPrevented&&!e.metaKey){let e=new CustomEvent(er,{bubbles:!0,cancelable:!0});(0,f.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});J.displayName="NavigationMenuLink";var Q="NavigationMenuIndicator";n.forwardRef((e,o)=>{let{forceMount:r,...n}=e,s=H(Q,e.__scopeNavigationMenu),a=!!s.value;return s.indicatorTrack?u.default.createPortal((0,t.jsx)(v.Presence,{present:r||a,children:(0,t.jsx)(Z,{...n,ref:o})}),s.indicatorTrack):null}).displayName=Q;var Z=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,...s}=e,a=H(Q,r),i=M(r),[l,d]=n.useState(null),[c,u]=n.useState(null),p="horizontal"===a.orientation,m=!!a.value;n.useEffect(()=>{let e=i(),t=e.find(e=>e.value===a.value)?.ref.current;t&&d(t)},[i,a.value]);let h=()=>{l&&u({size:p?l.offsetWidth:l.offsetHeight,offset:p?l.offsetLeft:l.offsetTop})};return em(l,h),em(a.indicatorTrack,h),c?(0,t.jsx)(f.Primitive.div,{"aria-hidden":!0,"data-state":m?"visible":"hidden","data-orientation":a.orientation,...s,ref:o,style:{position:"absolute",...p?{left:0,width:c.size+"px",transform:`translateX(${c.offset}px)`}:{top:0,height:c.size+"px",transform:`translateY(${c.offset}px)`},...s.style}}):null}),ee="NavigationMenuContent",et=n.forwardRef((e,o)=>{let{forceMount:r,...n}=e,s=H(ee,e.__scopeNavigationMenu),a=G(ee,e.__scopeNavigationMenu),i=(0,x.useComposedRefs)(a.contentRef,o),l=a.value===s.value,d={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...n};return s.viewport?(0,t.jsx)(eo,{forceMount:r,...d,ref:i}
1):(0,t.jsx)(v.Presence,{present:r||l,children:(0,t.jsx)(en,{"data-state":ef(l),...d,ref:i,onPointerEnter:(0,m.composeEventHandlers)(e.onPointerEnter,s.onContentEnter),onPointerLeave:(0,m.composeEventHandlers)(e.onPointerLeave,eg(s.onContentLeave)),style:{pointerEvents:!l&&s.isRootMenu?"none":void 0,...d.style}})})});et.displayName=ee;var eo=n.forwardRef((e,t)=>{let{onViewportContentChange:o,onViewportContentRemove:r}=H(ee,e.__scopeNavigationMenu);return(0,y.useLayoutEffect)(()=>{o(e.value,{ref:t,...e})},[e,t,o]),(0,y.useLayoutEffect)(()=>()=>r(e.value),[e.value,r]),null}),er="navigationMenu.rootContentDismiss",en=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,value:s,triggerRef:a,focusProxyRef:i,wasEscapeCloseRef:l,onRootContentClose:d,onContentFocusOutside:c,...u}=e,p=H(ee,r),f=n.useRef(null),h=(0,x.useComposedRefs)(f,o),g=eh(p.baseId,s),v=ex(p.baseId,s),j=M(r),b=n.useRef(null),{onItemDismiss:k}=p;n.useEffect(()=>{let e=f.current;if(p.isRootMenu&&e){let t=()=>{k(),d(),e.contains(document.activeElement)&&a.current?.focus()};return e.addEventListener(er,t),()=>e.removeEventListener(er,t)}},[p.isRootMenu,e.value,a,k,d]);let y=n.useMemo(()=>{let e=j().map(e=>e.value);"rtl"===p.dir&&e.reverse();let t=e.indexOf(p.value),o=e.indexOf(p.previousValue),r=s===p.value,n=o===e.indexOf(s);if(!r&&!n)return b.current;let a=(()=>{if(t!==o){if(r&&-1!==o)return t>o?"from-end":"from-start";if(n&&-1!==t)return t>o?"to-start":"to-end"}return null})();return b.current=a,a},[p.previousValue,p.value,p.dir,j,s]);return(0,t.jsx)(el,{asChild:!0,children:(0,t.jsx)(w.DismissableLayer,{id:v,"aria-labelledby":g,"data-motion":y,"data-orientation":p.orientation,...u,ref:h,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(er,{bubbles:!0,cancelable:!0});f.current?.dispatchEvent(e)},onFocusOutside:(0,m.composeEventHandlers)(e.onFocusOutside,e=>{c();let t=e.target;p.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,m.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,o=j().some(e=>e.ref.current?.contains(t)),r=p.isRootMenu&&p.viewport?.contains(t);(o||r||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,m.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=eu(e.currentTarget),o=document.activeElement,r=t.findIndex(e=>e===o);ep(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():i.current?.focus()}}),onEscapeKeyDown:(0,m.composeEventHandlers)(e.onEscapeKeyDown,e=>{l.current=!0})})})}),es="NavigationMenuViewport",ea=n.forwardRef((e,o)=>{let{forceMount:r,...n}=e,s=!!H(es,e.__scopeNavigationMenu).value;return(0,t.jsx)(v.Presence,{present:r||s,children:(0,t.jsx)(ei,{...n,ref:o})})});ea.displayName=es;var ei=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,children:s,...a}=e,i=H(es,r),l=(0,x.useComposedRefs)(o,i.onViewportChange),d=_(ee,e.__scopeNavigationMenu),[c,u]=n.useState(null),[p,h]=n.useState(null),g=c?c?.width+"px":void 0,j=c?c?.height+"px":void 0,b=!!i.value,w=b?i.value:i.previousValue;return em(p,()=>{p&&u({width:p.offsetWidth,height:p.offsetHeight})}),(0,t.jsx)(f.Primitive.div,{"data-state":ef(b),"data-orientation":i.orientation,...a,ref:l,style:{pointerEvents:!b&&i.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":g,"--radix-navigation-menu-viewport-height":j,...a.style},onPointerEnter:(0,m.composeEventHandlers)(e.onPointerEnter,i.onContentEnter),onPointerLeave:(0,m.composeEventHandlers)(e.onPointerLeave,eg(i.onContentLeave)),children:Array.from(d.items).map(([e,{ref:o,forceMount:r,...n}])=>{let s=w===e;return(0,t.jsx)(v.Presence,{present:r||s,children:(0,t.jsx)(en,{...n,ref:(0,x.composeRefs)(o,e=>{s&&e&&h(e)})})},e)})})}),el=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,...n}=e,s=H("FocusGroup",r);return(0,t.jsx)(P.Provider,{scope:r,children:(0,t.jsx)(P.Slot,{scope:r,children:(0,t.jsx)(f.Primitive.div,{dir:s.dir,...n,ref:o})})})}),ed=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ec=n.forwardRef((e,o)=>{let{__scopeNavigationMenu:r,...n}=e,s=T(r),a=H("FocusGroupItem",r);return(0,t.jsx)(P.ItemSlot,{scope:r,children:(0,t.jsx)(f.Primitive.button,{...n,ref:o,onKeyDown:(0,m.composeEventHandlers)(e.onKeyDown,e=>
1{if(["Home","End",...ed].includes(e.key)){let t=s().map(e=>e.ref.current);if(["rtl"===a.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ed.includes(e.key)){let o=t.indexOf(e.currentTarget);t=t.slice(o+1)}setTimeout(()=>ep(t)),e.preventDefault()}})})})});function eu(e){let t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode: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}});for(;o.nextNode();)t.push(o.currentNode);return t}function ep(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function em(e,t){let o=(0,N.useCallbackRef)(t);(0,y.useLayoutEffect)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(o)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,o])}function ef(e){return e?"open":"closed"}function eh(e,t){return`${e}-trigger-${t}`}function ex(e,t){return`${e}-content-${t}`}function eg(e){return t=>"mouse"===t.pointerType?e(t):void 0}var ev=e.i(94237),ej=e.i(80064);function eb({className:e,children:o,viewport:r=!0,...n}){return(0,t.jsxs)(B,{"data-slot":"navigation-menu","data-viewport":r,className:(0,ej.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...n,children:[o,r&&(0,t.jsx)(eR,{})]})}function ew({className:e,...o}){return(0,t.jsx)(W,{"data-slot":"navigation-menu-list",className:(0,ej.cn)("flex flex-1 list-none items-center justify-center gap-1",e),...o})}function ek({className:e,...o}){return(0,t.jsx)($,{"data-slot":"navigation-menu-item",className:(0,ej.cn)("relative",e),...o})}let ey=(0,ev.cva)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-gradient-uprock-soft focus:bg-gradient-uprock-soft disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-gradient-uprock-soft data-[state=open]:focus:bg-gradient-uprock-soft data-[state=open]:bg-gradient-uprock-soft focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function eN({className:e,children:o,...r}){return(0,t.jsxs)(q,{"data-slot":"navigation-menu-trigger",className:(0,ej.cn)(ey(),"group/trigger",e),...r,children:[o," ",(0,t.jsxs)("span",{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]/trigger:rotate-180",children:[(0,t.jsx)("svg",{className:"size-3 transition-opacity group-hover/trigger:opacity-0 group-data-[state=open]/trigger:opacity-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",children:(0,t.jsx)("path",{d:"M6 9l6 6 6-6",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,t.jsxs)("svg",{className:"absolute inset-0 size-3 opacity-0 group-hover/trigger:opacity-100 group-data-[state=open]/trigger:opacity-100",viewBox:"0 0 24 24",fill:"none",stroke:"url(#uprock-gradient-chevron-down)",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"uprock-gradient-chevron-down",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"hsl(14, 100%, 60%)"}),(0,t.jsx)("stop",{offset:"50%",stopColor:"hsl(24, 100%, 55%)"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"hsl(35, 100%, 55%)"})]})}),(0,t.jsx)("path",{d:"M6 9l6 6 6-6",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})]})]})}function eC({className:e,...o}){return(0,t.jsx)(et,{"data-slot":"navigation-menu-content",className:(0,ej.cn)("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto","group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",e),...o})}function eR({className:e,...o}){return(0,t.jsx)("div",{className:(0,ej.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,t.jsx)(ea,{"data-slot":"navigation-menu-viewport",className:(0,ej.cn)("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",e),...o})})}function eL({className:e,...o}){return(0,t.jsx)(J,{"data-slot":"navigation-menu-link",className:(0,ej.cn)("data-[active=true]:focus:bg-gradient-uprock-soft data-[active=true]:hover:bg-gradient-uprock-soft data-[active=true]:bg-gradient-uprock-soft data-[active=true]:text-foreground hover:bg-gradient-uprock-soft hover:text-foreground focus:bg-gradient-uprock-soft focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",e),...o})}let eM={products:[{title:"Insight Stacks",href:"/insight-stacks",de
1scription:"Structured web intelligence for AI agents",icon:(0,t.jsx)("svg",{className:"w-5 h-5 text-uprock-solid",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"})})},{title:"AI Sitemaps",href:"/ai-sitemaps",description:"Generate AI-native sitemaps from any website",icon:(0,t.jsx)("svg",{className:"w-5 h-5 text-uprock-solid",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l5.447 2.724A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"})})},{title:"UpRock Verify",href:"/uprock-verify",description:"Real device verification across global networks",icon:(0,t.jsx)("svg",{className:"w-5 h-5 text-uprock-solid",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 10V3L4 14h7v7l9-11h-7z"})})},{title:"Video Semantic Search",href:"/video-semantic-search",description:"Search moments & frames across video by text or image",icon:(0,t.jsx)("svg",{className:"w-5 h-5 text-uprock-solid",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"})})}],company:[{title:"About",href:"/about"},{title:"Blog",href:"/blog"},{title:"Community",href:"/community"},{title:"Contact",href:"/contact"}],resources:[{title:"Pricing",href:"/pricing"},{title:"SLA",href:"/sla"}]};function eE({initialHasSession:e=!1}
1){let u=(0,s.usePostHog)(),[p,m]=(0,n.useState)(!1),[f,h]=(0,n.useState)(!1),[x,g]=(0,n.useState)(!1),[v,j]=(0,n.useState)(""),b=(0,n.useRef)(0),{setTheme:w,resolvedTheme:k}=(0,a.useTheme)();(0,n.useEffect)(()=>{h(!0);let e=()=>{g(window.scrollY>10)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let y=()=>{w("dark"===k?"light":"dark")},N=e||"undefined"!=typeof document&&(0,c.isAuthenticated)(),C=N?"/app":"/login",R=N?"Dashboard":"Sign In";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:`sticky inset-x-0 top-0 z-50 h-16 w-full shrink-0 border-b bg-background md:fixed md:transition-[background-color,box-shadow,border-color] md:duration-200 ${x?"shadow-sm md:bg-background/95 md:backdrop-blur-lg":"md:bg-background/80 md:backdrop-blur-sm"}`,children:(0,t.jsxs)("nav",{className:"container mx-auto flex h-full items-center justify-between px-4",children:[(0,t.jsxs)(o.default,{href:"/",className:"flex items-center space-x-2 group group-gradient",children:[(0,t.jsx)(r.default,{src:"/logo.png",alt:"UpRock Logo",width:36,height:36,className:"w-9 h-9"}),(0,t.jsxs)("span",{className:"text-xl font-bold group-hover-text-gradient-uprock transition-colors uprock-brand",style:{fontFamily:"'Baba Pro', var(--font-sans)"},children:["UpRock",(0,t.jsx)("span",{className:"text-gradient-uprock",children:".AI"})]})]}),(0,t.jsxs)("div",{className:"hidden md:flex md:items-center md:space-x-1",children:[f?(0,t.jsx)(eb,{value:v,onValueChange:e=>{if(e)b.current=Date.now(),j(e);else{if(Date.now()-b.current<600)return;j(e)}},children:(0,t.jsxs)(ew,{children:[(0,t.jsxs)(ek,{value:"products",children:[(0,t.jsx)(eN,{className:"bg-transparent nav-trigger-gradient group-gradient",children:(0,t.jsx)("span",{className:"group-hover-text-gradient-uprock",children:"Products"})}),(0,t.jsx)(eC,{children:(0,t.jsx)("ul",{className:"grid w-[450px] gap-2 p-4",children:eM.products.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(eL,{asChild:!0,children:(0,t.jsxs)(o.default,{href:e.href,className:"group group-gradient flex items-start gap-4 select-none rounded-lg p-4 leading-none no-underline outline-none transition-all hover:bg-gradient-uprock-soft hover:border-gradient-uprock border border-transparent",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-lg bg-gradient-uprock-soft flex items-center justify-center",children:e.icon}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-sm font-semibold group-hover-text-gradient-uprock transition-colors",children:e.title}),(0,t.jsxs)("svg",{className:"w-4 h-4 opacity-0 -translate-x-2 group-hover:opacity-100 group-hover:translate-x-0 transition-all",viewBox:"0 0 24 24",fill:"none",stroke:"url(#uprock-gradient-chevron-right)",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"uprock-gradient-chevron-right",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"hsl(14, 100%, 60%)"}),(0,t.jsx)("stop",{offset:"50%",stopColor:"hsl(24, 100%, 55%)"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"hsl(35, 100%, 55%)"})]})}),(0,t.jsx)("path",{d:"M9 18l6-6-6-6",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})]}),(0,t.jsx)("p",{className:"text-sm leading-snug text-muted-foreground mt-1",children:e.description})]})]})})},e.title))})})]}),(0,t.jsxs)(ek,{value:"company",children:[(0,t.jsx)(eN,{className:"bg-transparent nav-trigger-gradient group-gradient",children:(0,t.jsx)("span",{className:"group-hover-text-gradient-uprock",children:"Company"})}),(0,t.jsx)(eC,{children:(0,t.jsx)("ul",{className:"grid w-[200px] gap-1 p-3",children:eM.company.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(eL,{asChild:!0,children:(0,t.jsx)(o.default,{href:e.href,className:"block select-none rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-gradient-uprock-soft hover-text-gradient-uprock",children:(0,t.jsx)("div",{className:"text-sm font-medium leading-none",children:e.title})})})},e.title))})})]}),(0,t.jsx)(ek,{children:(0,t.jsx)(eL,{asChild:!0,className:ey(),children:(0,t.jsx)(o.default,{href:"/pricing",className:"bg-transparent hover-text-gradient-uprock",children:"Pricing"})})})]})}):(0,t.jsxs)("ul",{className:"flex flex-1 list-none items-center justify-center gap-1","aria-hidden":"true",children:[(0,t.jsx)("li",{className:"relative",children:(0,t.jsx)("span",{className:"group inline-flex h-9 w-max items-center justify-center rounded-md px-4 py-2 text-sm font-medium text-muted-foreground",children:"Products"})}),(0,t.jsx)("li",{className:"relative",children:(0,t.jsx)("span",{className:"group inline-flex h-9 w-max items-center justify-center rounded-md px-4 py-2 text-sm font-medium text-muted-foreground",children:"Company"})}),(0,t.jsx)("li",{className:"relative",children:(0,t.jsx)(o.default,{href:"/pricing",className:"inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:text-foreground text-muted-foreground",children:"Pricing"})})]}),(0,t.jsx)(d.Button,{variant:"outline",size:"icon",onClick:y,"aria-label":"Toggle theme",className:"ml-2 group h-9 w-9 hover:bg-gradient-uprock-soft",children:f&&"dark"===k?(0,t.jsxs)("span",{className:"relative h-4 w-4",children:[(0,t.jsx)("svg",{className:"h-4 w-4 transition-opacity group-hover:opacity-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})}),(0,t.jsxs)("svg",{className:"absolute inset-0 h-4 w-4 opacity-0 group-hover:opacity-100",viewBox:"0 0 24 24",fill:"none",stroke:"url
1(#uprock-gradient-sun-desktop)",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"uprock-gradient-sun-desktop",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"hsl(14, 100%, 60%)"}),(0,t.jsx)("stop",{offset:"50%",stopColor:"hsl(24, 100%, 55%)"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"hsl(35, 100%, 55%)"})]})}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})]})]}):(0,t.jsxs)("span",{className:"relative h-4 w-4",children:[(0,t.jsx)("svg",{className:"h-4 w-4 transition-opacity group-hover:opacity-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})}),(0,t.jsxs)("svg",{className:"absolute inset-0 h-4 w-4 opacity-0 group-hover:opacity-100",viewBox:"0 0 24 24",fill:"none",stroke:"url(#uprock-gradient-moon-desktop)",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"uprock-gradient-moon-desktop",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"hsl(14, 100%, 60%)"}),(0,t.jsx)("stop",{offset:"50%",stopColor:"hsl(24, 100%, 55%)"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"hsl(35, 100%, 55%)"})]})}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})]})]})}),(0,t.jsx)(d.Button,{asChild:!0,className:"ml-2 bg-gradient-button hover:bg-gradient-button text-white",children:(0,t.jsx)(o.default,{href:C,onClick:()=>{N||u?.capture("sign_in_clicked",{page:window.location.pathname})},children:R})})]}),(0,t.jsxs)("div",{className:"md:hidden flex items-center gap-2",children:[(0,t.jsx)(d.Button,{variant:"outline",size:"icon",onClick:y,"aria-label":"Toggle theme",className:"group h-9 w-9 hover:bg-gradient-uprock-soft",children:f&&"dark"===k?(0,t.jsxs)("span",{className:"relative h-4 w-4",children:[(0,t.jsx)("svg",{className:"h-4 w-4 transition-opacity group-hover:opacity-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})}),(0,t.jsxs)("svg",{className:"absolute inset-0 h-4 w-4 opacity-0 group-hover:opacity-100",viewBox:"0 0 24 24",fill:"none",stroke:"url(#uprock-gradient-sun-mobile)",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"uprock-gradient-sun-mobile",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"hsl(14, 100%, 60%)"}),(0,t.jsx)("stop",{offset:"50%",stopColor:"hsl(24, 100%, 55%)"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"hsl(35, 100%, 55%)"})]})}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})]})]}):(0,t.jsxs)("span",{className:"relative h-4 w-4",children:[(0,t.jsx)("svg",{className:"h-4 w-4 transition-opacity group-hover:opacity-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})}),(0,t.jsxs)("svg",{className:"absolute inset-0 h-4 w-4 opacity-0 group-hover:opacity-100",viewBox:"0 0 24 24",fill:"none",stroke:"url(#uprock-gradient-moon-mobile)",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"uprock-gradient-moon-mobile",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"hsl(14, 100%, 60%)"}),(0,t.jsx)("stop",{offset:"50%",stopColor:"hsl(24, 100%, 55%)"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"hsl(35, 100%, 55%)"})]})}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})]})]})}),(0,t.jsxs)(d.Button,{variant:"ghost",size:"icon",onClick:()=>m(!p),className:"group text-muted-foreground hover:text-uprock-solid hover:bg-gradient-uprock-soft",children:[p?(0,t.jsx)(l.X,{className:"h-6 w-6 group-hover:text-uprock-solid"}):(0,t.jsx)(i,{className:"h-6 w-6 group-hover:text-uprock-solid"}),(0,t.jsx)("span",{className:"sr-only",children:"Toggle menu"})]})]})]})}),(0,t.jsx)("div",{className:"hidden h-16 shrink-0 md:block","aria-hidden":"true"}),(0,t.jsx)("div",{className:`md:hidden fixed inset-0 z-[60] bg-black/60 backdrop-blur-sm transition-opacity duration-300 ${p?"opacity-100":"opacity-0 pointer-events-none"}`,onClick:()=>m(!1)}),(0,t.jsx)("div",{className:"pointer-events-none fixed inset-0 z-[70] overflow-hidden md:hidden",children:(0,t.jsxs)("aside",{className:`absolute bottom-3 right-3 top-3 flex w-72 flex-col overflow-hidden rounded-2xl border bg-card shadow-xl transform transition-transform duration-300 ease-in-out ${p?"pointer-events-auto translate-x-0":"pointer-events-none translate-x-[calc(100%+12px)]"}`,"aria-hidden":!p,inert:!p,children:[(0,t.jsx)("button",{onClick:()=>m(!1),className:"absolute top-3 right-3 p-1.5 rounded-lg hover:bg-muted transition-colors text-muted-foreground hover:text-foreground z-10","aria-label":"Close menu",children:(0,t.jsx)(l.X,{className:"w-5 h-5"})}
1),(0,t.jsx)("div",{className:"p-4 border-b rounded-t-2xl",children:(0,t.jsxs)(o.default,{href:"/",className:"flex items-center gap-2",onClick:()=>m(!1),children:[(0,t.jsx)(r.default,{src:"/logo.png",alt:"UpRock Logo",width:32,height:32,className:"w-8 h-8"}),(0,t.jsxs)("span",{className:"text-xl font-bold",style:{fontFamily:"'Baba Pro', var(--font-sans)"},children:["UpRock",(0,t.jsx)("span",{className:"text-gradient-uprock",children:".AI"})]})]})}),(0,t.jsxs)("div",{className:"flex-1 p-3 overflow-y-auto min-h-0",children:[(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("p",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-2 px-3",children:"Products"}),(0,t.jsx)("ul",{className:"space-y-1",children:eM.products.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)(o.default,{href:e.href,onClick:()=>m(!1),className:"flex items-center gap-3 py-3 px-3 rounded-lg text-[15px] font-medium hover:bg-gradient-uprock-soft hover-text-gradient-uprock active:bg-gradient-uprock-soft transition-all duration-200",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-lg bg-gradient-uprock-soft flex items-center justify-center text-uprock-solid",children:e.icon}),e.title]})},e.title))})]}),(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("p",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-2 px-3",children:"Company"}),(0,t.jsx)("ul",{className:"space-y-1",children:eM.company.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:e.href,onClick:()=>m(!1),className:"block py-3 px-3 rounded-lg text-[15px] font-medium text-muted-foreground hover:bg-muted hover:text-foreground active:bg-muted/80 transition-all duration-200",children:e.title})},e.title))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-2 px-3",children:"Resources"}),(0,t.jsx)("ul",{className:"space-y-1",children:eM.resources.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(o.default,{href:e.href,onClick:()=>m(!1),className:"block py-3 px-3 rounded-lg text-[15px] font-medium text-muted-foreground hover:bg-muted hover:text-foreground active:bg-muted/80 transition-all duration-200",children:e.title})},e.title))})]})]}),(0,t.jsx)("div",{className:"p-3 border-t mt-auto rounded-b-2xl",children:(0,t.jsx)(d.Button,{asChild:!0,className:"w-full bg-gradient-button hover:bg-gradient-button active:brightness-95 text-white",children:(0,t.jsx)(o.default,{href:C,onClick:()=>{m(!1),N||u?.capture("sign_in_clicked",{page:window.location.pathname})},children:R})})})]})})]})}e.s(["default",()=>eE],7400)},3245,e=>{"use strict";var t=e.i(4350),o=e.i(44642),r=e.i(35974),n=e.i(26428);let s=[{title:"Insight Stacks",href:"/insight-stacks"},{title:"AI Sitemaps",href:"/ai-sitemaps"},{title:"UpRock Verify",href:"/uprock-verify"},{title:"Pricing",href:"/pricing"}],a=[{title:"About",href:"/about"},{title:"Blog",href:"/blog"},{title:"Community",href:"/community"},{title:"Contact",href:"/contact"}],i=[{title:"Privacy Policy",href:"/privacy-policy"},{title:"Terms of Use",href:"/terms-of-use"},{title:"Acceptable Use Policy",href:"/acceptable-use-policy"},{title:"SLA",href:"/sla"}],l=[{title:"Twitter",href:"https://x.com/uprockcom",path:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"},{title:"GitHub",href:"https://github.com/uprockcom",path:"M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"},{title:"LinkedIn",href:"https://linkedin.com/company/uprock",path:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"}];function d(){let[e,d]=(0,o.useState)({name:"",email:"",consent:!1}),[c,u]=(0,o.useState)({loading:!1,message:"",type:""}),[p,m]=(0,o.useState)(!1),[f,h]=(0,o.useState)(!1);(0,o.useEffect)(()=>h(!0),[]);let x=e=>{let{name:t,value:o,type:r,checked:n}=e.target;d(e=>({...e,[t]:"checkbox"===r?n:o})),"consent"===t&&n&&m(!1)},g=async t=>{if(t.preventDefault(),!e.consent)return void m(!0);u({loading:!0,message:"",type:""}),m(!1);try{let t=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e.name,email:e.email})}),o=await t.json();o.success?(u({loading:!1,message:o.message,type:"success"}),d({name:"",email:"",consent:!1})):u({loading:!1,message:o.message,type:"error"})}catch(e){u({loading:!1,message:"Something went wrong. Please try again.",type:"error"})}};return(0,t.jsx)("footer",{className:"border-t bg-muted/30",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 py-16",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-6 md:grid-cols-12 lg:gap-8",suppressHydrationWarning:!0,children:[(0,t.jsxs)("div",{className:"col-span-2 md:col-span-3",children:[(0,t.jsxs)(r.default,{href:"/",className:"flex items-center gap-2 mb-4 group group-gradient",children:[(0,t.jsx)(n.default,{src:"/logo.png",alt:"UpRock Logo",width:32,height:32,className:"w-8 h-8"}),(0,t.jsxs)("span",{className:"text-xl font-bold group-hover-text-gradient-uprock transition-colors",style:{fontFamily:"'Baba Pro', var(--font-sans)"},children:["UpRock",(0,t.jsx)("span",{className:"text-gradient-uprock",children:".AI"})]})]}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-6 max-w-xs",children:"The knowledge abstraction layer for the AI web. Turning raw chaos into decision-ready intelligence for humans and agent swarms."}),(0,t.jsx)("div",{className:"flex gap-3",children:l.map(e=>(0,t.jsx)(r.default,{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"group w-10 h-10 rounded-lg bg-background border flex items-center justify-center text-muted-foreground hover-border-gradient-uprock transition-colors","aria-label":e.title,children:(0,t.jsxs)("span",{className:"relative w-5 h-5",children:[(0,t.jsx)("svg",{className:"w-5 h-5 text-muted-foreground transition-opacity group-hover:opacity-0",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:e.path})}),(0,t.jsxs)("svg",{className:"absolute inset-0 w-5 h-5 opacity-0 group-hover:opacity-100",fill:`url(#uprock-gradient-${e.title.replace(/\s+/g,"-").toLowerCase()})`,viewBox:"0 0 24 24",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:`uprock-gradient-${e.title.replace(/\s+/g,"-").toLowerCase()}`,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"hsl(14, 100%, 60%)"}),(0,t.jsx)("stop",{offset:"50%",stopColor:"hsl(24, 100%, 55%)"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"hsl(35, 100%, 55%)"})]})}),(0,t.jsx)("path",{d:e.path})]})]})}
1,e.title))})]}),(0,t.jsxs)("div",{className:"col-span-1 md:col-span-2",children:[(0,t.jsx)("p",{className:"text-sm font-semibold mb-4",children:"Products"}),(0,t.jsx)("ul",{className:"space-y-3",children:s.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"text-sm text-muted-foreground hover-text-gradient-uprock transition-colors",children:e.title})},e.title))})]}),(0,t.jsxs)("div",{className:"col-span-1 md:col-span-2",children:[(0,t.jsx)("p",{className:"text-sm font-semibold mb-4",children:"Company"}),(0,t.jsx)("ul",{className:"space-y-3",children:a.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"text-sm text-muted-foreground hover-text-gradient-uprock transition-colors",children:e.title})},e.title))})]}),(0,t.jsxs)("div",{className:"col-span-1 md:col-span-2",children:[(0,t.jsx)("p",{className:"text-sm font-semibold mb-4",children:"Legal"}),(0,t.jsx)("ul",{className:"space-y-3",children:i.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"text-sm text-muted-foreground hover-text-gradient-uprock transition-colors",children:e.title})},e.title))})]}),(0,t.jsxs)("div",{className:"col-span-2 md:col-span-3",children:[(0,t.jsx)("p",{className:"text-sm font-semibold mb-3",children:"Stay Updated"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-3",children:"Get the latest updates on AI intelligence and web data."}),f?"success"===c.type?(0,t.jsx)("div",{className:"p-3 rounded-lg bg-green-500/10 border border-green-500/20",children:(0,t.jsx)("p",{className:"text-sm text-green-500",children:c.message})}):(0,t.jsxs)("form",{onSubmit:g,className:"flex flex-col gap-2",children:[(0,t.jsx)("input",{type:"text",name:"name",value:e.name,onChange:x,placeholder:"Full name",required:!0,className:"w-full px-3 py-2 text-sm border rounded-lg bg-background focus:outline-none focus:ring-0 focus:border-gradient-uprock"}),(0,t.jsx)("input",{type:"email",name:"email",value:e.email,onChange:x,placeholder:"Email address",required:!0,className:"w-full px-3 py-2 text-sm border rounded-lg bg-background focus:outline-none focus:ring-0 focus:border-gradient-uprock"}),(0,t.jsxs)("label",{className:"flex items-start gap-2 cursor-pointer mt-1",children:[(0,t.jsx)("input",{type:"checkbox",name:"consent",checked:e.consent,onChange:x,className:"mt-1 h-4 w-4 rounded border-gray-300 text-uprock-solid focus:ring-0 cursor-pointer"}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground leading-tight",children:"I consent to receive news, updates, and marketing emails from UpRock."})]}),p&&(0,t.jsx)("p",{className:"text-xs text-red-500",children:"Please provide your consent to subscribe."}),"error"===c.type&&(0,t.jsx)("p",{className:"text-xs text-red-500",children:c.message}),(0,t.jsx)("button",{type:"submit",disabled:c.loading,className:"w-full px-4 py-2 text-sm font-medium bg-gradient-button text-white rounded-lg hover:bg-gradient-button transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:c.loading?"Subscribing...":"Subscribe"})]}):(0,t.jsx)("div",{className:"flex flex-col gap-2 min-h-[220px]","aria-hidden":"true"})]})]}),(0,t.jsx)("div",{className:"mt-12 pt-8 border-t",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:["© ",new Date().getFullYear()," UpRock. All rights reserved."]}),(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[(0,t.jsx)(r.default,{href:"/privacy-policy",className:"text-sm text-muted-foreground hover-text-gradient-uprock transition-colors",children:"Privacy"}),(0,t.jsx)(r.default,{href:"/terms-of-use",className:"text-sm text-muted-foreground hover-text-gradient-uprock transition-colors",children:"Terms"}),(0,t.jsx)(r.default,{href:"/acceptable-use-policy",className:"text-sm text-muted-foreground hover-text-gradient-uprock transition-colors",children:"AUP"}),(0,t.jsx)(r.default,{href:"/sla",className:"text-sm text-muted-foreground hover-text-gradient-uprock transition-colors",children:"SLA"})]})]})})]})})}e.s(["default",()=>d])}]);
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.