PageSourceSearch

https://geminomni.com/_next/static/chunks/2nzlg04n9vw2f.js

js geminomni.com collected 2026-10-04 01:58:37 UTC 26,412 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,279957,e=>{"use strict";var t=e.i(188421),n=e.i(894238),r=e.i(825141),a=e.i(792347);let o=(0,n.default)(()=>e.A(374234).then(e=>e.AnnouncementBarClient),{loadableGenerated:{modules:[453051]},ssr:!1,loading:function(){return(0,t.jsx)("div",{className:"h-[64px] md:h-[52px]",children:(0,t.jsx)("section",{"aria-label":"Announcement loading",className:"relative z-20 h-[64px] overflow-hidden bg-gradient-to-r from-orange-500 via-pink-500 to-purple-500 text-white md:h-[52px]"})})}});function i({item:e,href:n,compact:r=!1}){if(!e)return null;let a=r?function(e){switch(e.id){case"agent-launch":return"Chat agent is live";case"credit-bonus":return"Bonus credits available";case"scenes-launch":return"Fast video generation";case"free-credits":return"Free starter credits";default:return e.message}}(e):e.message,o=r?function(e){switch(e.id){case"agent-launch":return"Try Chat";case"credit-bonus":return"View Packs";case"scenes-launch":return"Generate";case"free-credits":return"Start Free";default:return e.ctaText}}(e):e.ctaText;return(0,t.jsx)("div",{className:"h-[64px] md:h-[52px]",children:(0,t.jsx)("section",{"aria-label":"Announcement",className:"relative z-20 h-[64px] overflow-hidden bg-gradient-to-r from-orange-500 via-pink-500 to-purple-500 text-white md:h-[52px]",children:(0,t.jsxs)("a",{href:n||e.ctaLink,className:"relative mx-auto flex h-full max-w-7xl flex-col items-center justify-center gap-1 px-12 py-1 text-center hover:opacity-95 md:flex-row md:gap-x-4 md:px-4 md:py-2",children:[e.badge&&(0,t.jsx)("span",{className:"inline-flex items-center rounded-full bg-black/90 px-2 py-0.5 text-xs font-semibold text-white shadow-lg",children:e.badge}),(0,t.jsx)("span",{className:`truncate font-bold drop-shadow-lg ${r?"max-w-[42rem] text-sm xl:max-w-[54rem]":"max-w-full text-sm md:text-base"}`,children:a}),(0,t.jsx)("span",{className:"inline-flex items-center rounded-full bg-white px-3 py-1 text-xs font-bold text-pink-600 shadow-lg md:text-sm",children:o})]})})})}e.s(["DeferredAnnouncementBarClient",0,function({items:e,promoEndDate:n,configId:s,interval:l,fallbackItem:u,fallbackHref:c}){var d;let f="/video"===(d=function(e,t){if(!t)return e||"/";let n=Array.isArray(t)?t[0]:t,r=RegExp(`^/${n}/`);return e.replace(r,"/")||"/"}((0,r.usePathname)(),(0,r.useParams)().locale))||d.startsWith("/video/"),[m,v]=(0,a.useState)(!1),[p,g]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{let e,t;g(function(e){let t=localStorage.getItem(`announcement-bar-dismissed-${e}`);if(!t)return!1;let n=Number.parseInt(t,10);return Date.now()<n+6048e5}(s));let n=()=>v(!0);return"function"==typeof window.requestIdleCallback?e=window.requestIdleCallback(n,{timeout:2500}):t=window.setTimeout(n,1500),()=>{void 0!==e&&"function"==typeof window.cancelIdleCallback&&window.cancelIdleCallback(e),void 0!==t&&window.clearTimeout(t)}},[s]),p)?null:m?(0,t.jsx)(o,{items:e,promoEndDate:n,configId:s,interval:l}):(0,t.jsx)(i,{compact:f,href:c,item:u})}])},652623,e=>{"use strict";var t=e.i(188421),n=e.i(520133),r=e.i(77607);e.s(["FooterShell",0,function({children:e}){let a=(0,n.useLocalePathname)();return(0,t.jsx)("div",{className:a===r.Routes.Pricing?"hidden lg:block":void 0,children:e})}])},91976,e=>{"use strict";var t=e.i(188421),n=e.i(975157);function r({className:e,children:a}){return(0,t.jsx)("div",{className:(0,n.cn)("container","mx-auto max-w-8xl",e),children:a})}var a=e.i(894238),o=e.i(792347);let i=(0,a.default)(()=>e.A(97888),{loadableGenerated:{modules:[620059]},ssr:!1,loading:()=>(0,t.jsx)(s,{})});function s(){return(0,t.jsx)("div",{"aria-hidden":"true",className:"size-8 rounded-full border border-border bg-background/30"})}function l(){let[e,n]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{let e,t,r=()=>n(!0);return"function"==typeof window.requestIdleCallback?e=window.requestIdleCallback(r,{timeout:2500}):t=window.setTimeout(r,1500),()=>{void 0!==e&&"function"==typeof window.cancelIdleCallback&&window.cancelIdleCallback(e),void 0!==t&&window.clearTimeout(t)}},[]),e)?(0,t.jsx)(i,{}):(0,t.jsx)(s,{})}var u=e.i(717318),c=e.i(870053),d=e.i(302747);let f=(0,a.default)(()=>e.A(450002).then(e=>e.DesktopNavbarAuthActions),{loadableGenerated:{modules:[652038]},ssr:!1,loading:()=>(0,t.jsx)(d.Skeleton,{className:"size-8 border rounded-full"})});function m(){return!function(e=1200){let[t,n]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let t,r=!1,a=()=>{r||n(!0)};return t="function"==typeof window.requestIdleCallback?window.requestIdleCallback(a,{timeout:e}):window.setTimeout(a,e),()=>{r=!0,void 0!==t&&("function"==typeof window.cancelIdleCallback?window.cancelIdleCallback(t):window.clearTimeout(t))}},[e]),t}()?(0,t.jsx)(d.Skeleton,{className:"size-8 border rounded-full"}):(0,t.jsx)(f,{})}(0,a.default)(()=>e.A(450002).then(e=>e.MobileNavbarAuthActions),{loadableGenerated:{modules:[652038]},ssr:!1,loading:()=>(0,t.jsx)(d.Skeleton,{className:"size-8 border rounded-full"})}
1),e.i(610336);var v=e.i(635875),p=e.i(588128),g=e.i(669122),x=e.i(291967),h=e.i(609732),w=e.i(892857),b=e.i(806148),j=e.i(887996),C=e.i(212850),N=e.i(535313),E=e.i(765726),R=e.i(141852),y=e.i(842728),k=e.i(533324),P=e.i(38744),T=e.i(676268),I="NavigationMenu",[M,L,A]=(0,E.createCollection)(I),[S,D,F]=(0,E.createCollection)(I),[_,z]=(0,g.createContextScope)(I,[A,F]),[H,K]=_(I),[O,V]=_(I),$=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,onValueChange:i,defaultValue:s,delayDuration:l=200,skipDelayDuration:u=300,orientation:c="horizontal",dir:d,...f}=e,[m,v]=o.useState(null),p=(0,b.useComposedRefs)(n,e=>v(e)),g=(0,j.useDirection)(d),x=o.useRef(0),C=o.useRef(0),N=o.useRef(0),[E,R]=o.useState(!0),[y,k]=(0,w.useControllableState)({prop:a,onChange:e=>{let t=u>0;""!==e?(window.clearTimeout(N.current),t&&R(!1)):(window.clearTimeout(N.current),N.current=window.setTimeout(()=>R(!0),u)),i?.(e)},defaultProp:s??"",caller:I}),P=o.useCallback(()=>{window.clearTimeout(C.current),C.current=window.setTimeout(()=>k(""),150)},[k]),T=o.useCallback(e=>{window.clearTimeout(C.current),k(e)},[k]),M=o.useCallback(e=>{y===e?window.clearTimeout(C.current):x.current=window.setTimeout(()=>{window.clearTimeout(C.current),k(e)},l)},[y,k,l]);return o.useEffect(()=>()=>{window.clearTimeout(x.current),window.clearTimeout(C.current),window.clearTimeout(N.current)},[]),(0,t.jsx)(G,{scope:r,isRootMenu:!0,value:y,dir:g,orientation:c,rootNavigationMenu:m,onTriggerEnter:e=>{window.clearTimeout(x.current),E?M(e):T(e)},onTriggerLeave:()=>{window.clearTimeout(x.current),P()},onContentEnter:()=>window.clearTimeout(C.current),onContentLeave:P,onItemSelect:e=>{k(t=>t===e?"":e)},onItemDismiss:()=>k(""),children:(0,t.jsx)(h.Primitive.nav,{"aria-label":"Main","data-orientation":c,dir:g,...f,ref:p})})});$.displayName=I;var W="NavigationMenuSub";o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,onValueChange:o,defaultValue:i,orientation:s="horizontal",...l}=e,u=K(W,r),[c,d]=(0,w.useControllableState)({prop:a,onChange:o,defaultProp:i??"",caller:W});return(0,t.jsx)(G,{scope:r,isRootMenu:!1,value:c,dir:u.dir,orientation:s,rootNavigationMenu:u.rootNavigationMenu,onTriggerEnter:e=>d(e),onItemSelect:e=>d(e),onItemDismiss:()=>d(""),children:(0,t.jsx)(h.Primitive.div,{"data-orientation":s,...l,ref:n})})}).displayName=W;var G=e=>{let{scope:n,isRootMenu:r,rootNavigationMenu:a,dir:i,orientation:s,children:l,value:u,onItemSelect:c,onItemDismiss:d,onTriggerEnter:f,onTriggerLeave:m,onContentEnter:v,onContentLeave:p}=e,[g,x]=o.useState(null),[h,w]=o.useState(new Map),[b,j]=o.useState(null);return(0,t.jsx)(H,{scope:n,isRootMenu:r,rootNavigationMenu:a,value:u,previousValue:(0,y.usePrevious)(u),baseId:(0,N.useId)(),dir:i,orientation:s,viewport:g,onViewportChange:x,indicatorTrack:b,onIndicatorTrackChange:j,onTriggerEnter:(0,P.useCallbackRef)(f),onTriggerLeave:(0,P.useCallbackRef)(m),onContentEnter:(0,P.useCallbackRef)(v),onContentLeave:(0,P.useCallbackRef)(p),onItemSelect:(0,P.useCallbackRef)(c),onItemDismiss:(0,P.useCallbackRef)(d),onViewportContentChange:o.useCallback((e,t)=>{w(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:o.useCallback(e=>{w(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(M.Provider,{scope:n,children:(0,t.jsx)(O,{scope:n,items:h,children:l})})})},q="NavigationMenuList",U=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,o=K(q,r),i=(0,t.jsx)(h.Primitive.ul,{"data-orientation":o.orientation,...a,ref:n});return(0,t.jsx)(h.Primitive.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,t.jsx)(M.Slot,{scope:r,children:o.isRootMenu?(0,t.jsx)(ef,{asChild:!0,children:i}):i})})});U.displayName=q;var B="NavigationMenuItem",[Y,X]=_(B),J=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,...i}=e,s=(0,N.useId)(),l=o.useRef(null),u=o.useRef(null),c=o.useRef(null),d=o.useRef(()=>{}),f=o.useRef(!1),m=o.useCallback((e="start")=>{if(l.current){d.current();let t=ep(l.current);t.length&&eg("start"===e?t:t.reverse())}},[]),v=o.useCallback(()=>{if(l.current){var e;let t=ep(l.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),d.current=()=>
1{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)(Y,{scope:r,value:a||s||"LEGACY_REACT_AUTO_VALUE",triggerRef:u,contentRef:l,focusProxyRef:c,wasEscapeCloseRef:f,onEntryKeyDown:m,onFocusProxyEnter:m,onRootContentClose:v,onContentFocusOutside:v,children:(0,t.jsx)(h.Primitive.li,{...i,ref:n})})});J.displayName=B;var Q="NavigationMenuTrigger",Z=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,disabled:a,...i}=e,s=K(Q,e.__scopeNavigationMenu),l=X(Q,e.__scopeNavigationMenu),u=o.useRef(null),c=(0,b.useComposedRefs)(u,l.triggerRef,n),d=ew(s.baseId,l.value),f=eb(s.baseId,l.value),m=o.useRef(!1),v=o.useRef(!1),p=l.value===s.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.ItemSlot,{scope:r,value:l.value,children:(0,t.jsx)(ev,{asChild:!0,children:(0,t.jsx)(h.Primitive.button,{id:d,disabled:a,"data-disabled":a?"":void 0,"data-state":eh(p),"aria-expanded":p,"aria-controls":f,...i,ref:c,onPointerEnter:(0,x.composeEventHandlers)(e.onPointerEnter,()=>{v.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:(0,x.composeEventHandlers)(e.onPointerMove,ej(()=>{a||v.current||l.wasEscapeCloseRef.current||m.current||(s.onTriggerEnter(l.value),m.current=!0)})),onPointerLeave:(0,x.composeEventHandlers)(e.onPointerLeave,ej(()=>{a||(s.onTriggerLeave(),m.current=!1)})),onClick:(0,x.composeEventHandlers)(e.onClick,()=>{s.onItemSelect(l.value),v.current=p}),onKeyDown:(0,x.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===s.dir?"ArrowLeft":"ArrowRight"}[s.orientation];p&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(T.Root,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,n=e.relatedTarget,r=n===u.current,a=t?.contains(n);(r||!a)&&l.onFocusProxyEnter(r?"start":"end")}}),s.viewport&&(0,t.jsx)("span",{"aria-owns":f})]})]})});Z.displayName=Q;var ee="navigationMenu.linkSelect",et=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,active:a,onSelect:o,...i}=e;return(0,t.jsx)(ev,{asChild:!0,children:(0,t.jsx)(h.Primitive.a,{"data-active":a?"":void 0,"aria-current":a?"page":void 0,...i,ref:n,onClick:(0,x.composeEventHandlers)(e.onClick,e=>{let t=e.target,n=new CustomEvent(ee,{bubbles:!0,cancelable:!0});if(t.addEventListener(ee,e=>o?.(e),{once:!0}),(0,h.dispatchDiscreteCustomEvent)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(es,{bubbles:!0,cancelable:!0});(0,h.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});et.displayName="NavigationMenuLink";var en="NavigationMenuIndicator";o.forwardRef((e,n)=>{let{forceMount:r,...a}=e,o=K(en,e.__scopeNavigationMenu),i=!!o.value;return o.indicatorTrack?p.default.createPortal((0,t.jsx)(C.Presence,{present:r||i,children:(0,t.jsx)(er,{...a,ref:n})}),o.indicatorTrack):null}).displayName=en;var er=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,i=K(en,r),s=L(r),[l,u]=o.useState(null),[c,d]=o.useState(null),f="horizontal"===i.orientation,m=!!i.value;o.useEffect(()=>{let e=s(),t=e.find(e=>e.value===i.value)?.ref.current;t&&u(t)},[s,i.value]);let v=()=>{l&&d({size:f?l.offsetWidth:l.offsetHeight,offset:f?l.offsetLeft:l.offsetTop})};return ex(l,v),ex(i.indicatorTrack,v),c?(0,t.jsx)(h.Primitive.div,{"aria-hidden":!0,"data-state":m?"visible":"hidden","data-orientation":i.orientation,...a,ref:n,style:{position:"absolute",...f?{left:0,width:c.size+"px",transform:`translateX(${c.offset}px)`}:{top:0,height:c.size+"px",transform:`translateY(${c.offset}px)`},...a.style}}):null}),ea="NavigationMenuContent",eo=o.forwardRef((e,n)=>{let{forceMount:r,...a}=e,o=K(ea,e.__scopeNavigationMenu),i=X(ea,e.__scopeNavigationMenu),s=(0,b.useComposedRefs)(i.contentRef,n),l=i.value===o.value,u={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...a};return o.viewport?(0,t.jsx)(ei,{forceMount:r,...u,ref:s}):(0,t.jsx)(C.Presence,{present:r||l,children:(0,t.jsx)(el,{"data-state":eh(l),...u,ref:s,onPointerEnter:(0,x.composeEventHandlers)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,x.composeEventHandlers)(e.onPointerLeave,ej(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...u.style}})})});eo.displayName=ea;var ei=o.forwardRef((e,t)=>
1{let{onViewportContentChange:n,onViewportContentRemove:r}=K(ea,e.__scopeNavigationMenu);return(0,k.useLayoutEffect)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,k.useLayoutEffect)(()=>()=>r(e.value),[e.value,r]),null}),es="navigationMenu.rootContentDismiss",el=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,triggerRef:i,focusProxyRef:s,wasEscapeCloseRef:l,onRootContentClose:u,onContentFocusOutside:c,...d}=e,f=K(ea,r),m=o.useRef(null),v=(0,b.useComposedRefs)(m,n),p=ew(f.baseId,a),g=eb(f.baseId,a),h=L(r),w=o.useRef(null),{onItemDismiss:j}=f;o.useEffect(()=>{let e=m.current;if(f.isRootMenu&&e){let t=()=>{j(),u(),e.contains(document.activeElement)&&i.current?.focus()};return e.addEventListener(es,t),()=>e.removeEventListener(es,t)}},[f.isRootMenu,e.value,i,j,u]);let C=o.useMemo(()=>{let e=h().map(e=>e.value);"rtl"===f.dir&&e.reverse();let t=e.indexOf(f.value),n=e.indexOf(f.previousValue),r=a===f.value,o=n===e.indexOf(a);if(!r&&!o)return w.current;let i=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(o&&-1!==t)return t>n?"to-start":"to-end"}return null})();return w.current=i,i},[f.previousValue,f.value,f.dir,h,a]);return(0,t.jsx)(ef,{asChild:!0,children:(0,t.jsx)(R.DismissableLayer,{id:g,"aria-labelledby":p,"data-motion":C,"data-orientation":f.orientation,...d,ref:v,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(es,{bubbles:!0,cancelable:!0});m.current?.dispatchEvent(e)},onFocusOutside:(0,x.composeEventHandlers)(e.onFocusOutside,e=>{c();let t=e.target;f.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,x.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,n=h().some(e=>e.ref.current?.contains(t)),r=f.isRootMenu&&f.viewport?.contains(t);(n||r||!f.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,x.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ep(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);eg(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():s.current?.focus()}}),onEscapeKeyDown:(0,x.composeEventHandlers)(e.onEscapeKeyDown,e=>{l.current=!0})})})}),eu="NavigationMenuViewport",ec=o.forwardRef((e,n)=>{let{forceMount:r,...a}=e,o=!!K(eu,e.__scopeNavigationMenu).value;return(0,t.jsx)(C.Presence,{present:r||o,children:(0,t.jsx)(ed,{...a,ref:n})})});ec.displayName=eu;var ed=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,children:a,...i}=e,s=K(eu,r),l=(0,b.useComposedRefs)(n,s.onViewportChange),u=V(ea,e.__scopeNavigationMenu),[c,d]=o.useState(null),[f,m]=o.useState(null),v=c?c?.width+"px":void 0,p=c?c?.height+"px":void 0,g=!!s.value,w=g?s.value:s.previousValue;return ex(f,()=>{f&&d({width:f.offsetWidth,height:f.offsetHeight})}),(0,t.jsx)(h.Primitive.div,{"data-state":eh(g),"data-orientation":s.orientation,...i,ref:l,style:{pointerEvents:!g&&s.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":v,"--radix-navigation-menu-viewport-height":p,...i.style},onPointerEnter:(0,x.composeEventHandlers)(e.onPointerEnter,s.onContentEnter),onPointerLeave:(0,x.composeEventHandlers)(e.onPointerLeave,ej(s.onContentLeave)),children:Array.from(u.items).map(([e,{ref:n,forceMount:r,...a}])=>{let o=w===e;return(0,t.jsx)(C.Presence,{present:r||o,children:(0,t.jsx)(el,{...a,ref:(0,b.composeRefs)(n,e=>{o&&e&&m(e)})})},e)})})}),ef=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,o=K("FocusGroup",r);return(0,t.jsx)(S.Provider,{scope:r,children:(0,t.jsx)(S.Slot,{scope:r,children:(0,t.jsx)(h.Primitive.div,{dir:o.dir,...a,ref:n})})})}),em=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ev=o.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,o=D(r),i=K("FocusGroupItem",r);return(0,t.jsx)(S.ItemSlot,{scope:r,children:(0,t.jsx)(h.Primitive.button,{...a,ref:n,onKeyDown:(0,x.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...em].includes(e.key)){let t=o().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),em.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eg(t)),e.preventDefault()}})})})});function ep(e){let t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function eg(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ex(e,t){let n=(0,P.useCallbackRef)(t);(0,k.useLayoutEffect)(()=>{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 eh(e){return e?"open":"closed"}function ew(e,t){return`${e}-trigger-${t}`}function eb(e,t){return`${e}-content-${t}`}function ej(e){return t=>
1"mouse"===t.pointerType?e(t):void 0}var eC=e.i(294237),eN=e.i(76361);function eE({className:e,children:r,viewport:a=!0,...o}){return(0,t.jsxs)($,{"data-slot":"navigation-menu","data-viewport":a,className:(0,n.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...o,children:[r,a&&(0,t.jsx)(eI,{})]})}function eR({className:e,...r}){return(0,t.jsx)(U,{"data-slot":"navigation-menu-list",className:(0,n.cn)("group flex flex-1 list-none items-center justify-center gap-1",e),...r})}function ey({className:e,...r}){return(0,t.jsx)(J,{"data-slot":"navigation-menu-item",className:(0,n.cn)("relative",e),...r})}let ek=(0,eC.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-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1");function eP({className:e,children:r,...a}){return(0,t.jsxs)(Z,{"data-slot":"navigation-menu-trigger",className:(0,n.cn)(ek(),"group",e),...a,children:[r," ",(0,t.jsx)(eN.ChevronDownIcon,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}function eT({className:e,...r}){return(0,t.jsx)(eo,{"data-slot":"navigation-menu-content",className:(0,n.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),...r})}function eI({className:e,...r}){return(0,t.jsx)("div",{className:(0,n.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,t.jsx)(ec,{"data-slot":"navigation-menu-viewport",className:(0,n.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),...r})})}function eM({className:e,...r}){return(0,t.jsx)(et,{"data-slot":"navigation-menu-link",className:(0,n.cn)("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-[color,box-shadow] focu
1s-visible:ring-4 focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",e),...r})}var eL=e.i(355314),eA=e.i(520133),eS=e.i(882099),eS=eS,eD=e.i(936993);let eF=(0,n.cn)(ek(),"relative bg-transparent text-muted-foreground cursor-pointer","hover:bg-accent hover:text-accent-foreground","focus:bg-accent focus:text-accent-foreground","data-active:font-semibold data-active:bg-transparent data-active:text-accent-foreground","data-[state=open]:bg-transparent data-[state=open]:text-accent-foreground"),e_="text-muted-foreground group-hover:text-accent-foreground group-focus:text-accent-foreground";e.s(["Navbar",0,function(e){let a=(0,eD.useTranslations)(),o=(0,eL.useNavbarLinks)(),i=(0,eA.useLocalePathname)(),s="/video"===i||i.startsWith("/video/")?o.map(e=>({...e,title:function(e){switch(e.href){case"/app/generate":return"Create";case"/image":return"Image";case"/video":return"Video";case"/pricing":return"Pricing";default:return e.href?e.title||"":"Tools"}}(e)})):o;return(0,t.jsx)("section",{className:(0,n.cn)("sticky inset-x-0 top-0 z-40 py-4 transition-all duration-300","bg-muted/30 backdrop-blur-md border-b supports-backdrop-filter:bg-muted/30"),children:(0,t.jsxs)(r,{className:"px-4",children:[(0,t.jsxs)("nav",{className:"hidden lg:flex",children:[(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsxs)(v.ProgressLink,{href:"/",className:"flex items-center space-x-2",children:[(0,t.jsx)(c.Logo,{}),(0,t.jsx)("span",{className:"text-xl font-semibold",children:a("Metadata.name")})]})}),(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center space-x-2",children:(0,t.jsx)(eE,{className:"relative",children:(0,t.jsx)(eR,{className:"flex items-center",children:s?.map((e,r)=>{let a=e.items?.some(e=>e.href&&i.startsWith(e.href)),o=e.href??e.title??`nav-${r}`;return e.items?(0,t.jsxs)(ey,{className:"relative",children:[(0,t.jsx)(eP,{"data-active":a?"true":void 0,className:eF,children:e.title}),(0,t.jsx)(eT,{children:(0,t.jsx)("ul",{className:"grid w-[400px] gap-4 p-4 md:w-[500px] md:grid-cols-2 lg:w-[600px]",children:e.items?.map((e,r)=>{let a=e.href&&i.startsWith(e.href),o=e.href??e.title??`sub-${r}`;return(0,t.jsx)("li",{children:(0,t.jsx)(eM,{asChild:!0,children:(0,t.jsxs)(v.ProgressLink,{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,n.cn)("group flex select-none flex-row items-center gap-4 roun
1ded-md p-2 leading-none no-underline outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",a&&"bg-accent text-accent-foreground"),children:[(0,t.jsx)("div",{className:(0,n.cn)("flex size-8 shrink-0 items-center justify-center transition-colors",e_,a&&"text-accent-foreground"),children:e.icon??null}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("div",{className:(0,n.cn)("text-sm font-medium",e_,a&&"text-accent-foreground"),children:e.title}),e.description&&(0,t.jsx)("div",{className:(0,n.cn)("text-sm text-muted-foreground group-hover:text-accent-foreground/80 group-focus:text-accent-foreground/80",a&&"text-accent-foreground/80"),children:e.description})]}),e.external&&(0,t.jsx)(eS.default,{className:(0,n.cn)("size-4 shrink-0",e_,a&&"text-accent-foreground")})]})})},o)})})})]},o):(0,t.jsx)(ey,{children:(0,t.jsx)(eM,{asChild:!0,active:!!e.href&&("/"===e.href?"/"===i:i.startsWith(e.href)),className:eF,children:(0,t.jsx)(v.ProgressLink,{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,children:e.title})})},o)})})})}),(0,t.jsxs)("div",{className:"flex items-center gap-x-4",children:[(0,t.jsx)(m,{}),(0,t.jsx)(l,{})]})]}),(0,t.jsx)(u.DeferredNavbarMobile,{className:"lg:hidden"})]})})}],91976)}]);

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.