1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[57995],{7930:(e,t,a)=>{"use strict";a.d(t,{O5:()=>m.AspectRatioPicker,FQ:()=>i.F,GA:()=>c.ImageUploader,oD:()=>d.LazyImage,$B:()=>s.LocaleDetector,YC:()=>l.LocaleSelector,G8:()=>g.MarkdownPreview,Jl:()=>m.OptionChips,dK:()=>n.Pagination,TS:()=>x.SignUser,LK:()=>r.L,GC:()=>o.ThemeToggler,qN:()=>u.VideoUploader});var r=a(55342),n=a(52176),i=a(64496),s=a(7814),l=a(39131),o=a(76014);a(71784),a(21085),a(1261),a(82052),a(5017),a(40376);var d=a(33355),c=a(74891),u=a(1741),m=a(91866),g=a(69945);let h=new(a(33205)).A({html:!0,linkify:!0,breaks:!0});h.renderer.rules.heading_open=function(e,t){let a=e[t].markup.length,r=e[t+1];if(r&&"inline"===r.type){let e=r.content.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/(^-|-$)/g,"");return"<h".concat(a,' id="').concat(e,'">')}return"<h".concat(a,">")},h.renderer.rules.link_open=function(e,t,a,r,n){let i=e[t];if(i.attrIndex("href")>=0){let e=i.attrGet("href");i.attrSet("rel","nofollow"),e&&(e.startsWith("http://")||e.startsWith("https://"))&&i.attrSet("target","_blank")}return n.renderToken(e,t,a)},a(67296),a(50441),a(72999),a(44750),a(29548);var x=a(66614);a(23149),a(6716)},8550:(e,t,a)=>{"use strict";a.r(t),a.d(t,{DiscountBanner:()=>m,DiscountBannerContent:()=>u,DiscountBannerSpacer:()=>g});var r=a(21085),n=a(50441),i=a(12565),s=a(5017),l=a(82052),o=a(81741),d=a(29395);function c(e){return String(e).padStart(2,"0")}function u(e){let{title:t="New Year Sale",highlightText:a="50% OFF",description:n="for a Limited Time Only",buttonText:o="Get 50% off",buttonUrl:d="/pricing",timeLeft:u,onDismiss:m}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-violet-600 via-purple-600 to-indigo-600"}),(0,r.jsx)("div",{className:"animate-shimmer pointer-events-none absolute inset-0",style:{background:"linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.15) 37%, rgba(255,255,255,0.1) 50%, transparent 63%)",backgroundSize:"250% 100%"}}),(0,r.jsx)("div",{className:"relative z-10 px-3 py-2 sm:px-4 sm:py-2.5",children:(0,r.jsxs)("div",{className:"mx-auto flex max-w-7xl items-center justify-center gap-3 sm:gap-4",children:[(0,r.jsxs)("div",{className:"hidden shrink-0 items-center gap-1 sm:flex",children:[(0,r.jsx)("span",{className:"inline-flex h-7 w-8 items-center justify-center rounded bg-gray-900/80 text-sm font-bold text-white tabular-nums",children:c(u.hours)}),(0,r.jsx)("span",{className:"text-sm font-bold text-white",children:":"}),(0,r.jsx)("span",{className:"inline-flex h-7 w-8 items-center justify-center rounded bg-gray-900/80 text-sm font-bold text-white tabular-nums",children:c(u.minutes)}),(0,r.jsx)("span",{className:"text-sm font-bold text-white",children:":"}),(0,r.jsx)("span",{className:"inline-flex h-7 w-8 items-center justify-center rounded bg-gray-900/80 text-sm font-bold text-white tabular-nums",children:c(u.seconds)})]}),(0,r.jsxs)("div",{className:"flex min-w-0 items-center gap-1.5 sm:gap-2",children:[(0,r.jsx)("span",{className:"text-sm sm:text-base",children:"\uD83D\uDD25"}),(0,r.jsxs)("span",{className:"text-xs font-medium whitespace-nowrap text-white/90 sm:text-sm",children:[t,":"]}),(0,r.jsx)("span",{className:"text-xs font-extrabold whitespace-nowrap text-amber-300 sm:text-sm",children:a}),(0,r.jsx)("span",{className:"hidden text-xs font-medium whitespace-nowrap text-white/90 sm:inline sm:text-sm",children:n}),(0,r.jsx)("span",{className:"hidden text-sm sm:inline sm:text-base",children:"â¡"})]}),(0,r.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,r.jsx)(l.$,{asChild:!0,size:"sm",className:"h-7 rounded-full border-0 bg-gray-900 px-3 text-xs font-semibold text-white hover:bg-gray-800 sm:h-8 sm:px-5 sm:text-sm",children:(0,r.jsx)(s.N_,{href:d,children:o})}),(0,r.jsx)("button",{onClick:m,className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-white/70 transition-colors hover:text-white sm:h-7 sm:w-7","aria-label":"Dismiss banner",children:(0,r.jsx)(i.A,{className:"h-3.5 w-3.5 sm:h-4 sm:w-4",strokeWidth:2.5})})]})]})})]})}function m(e){let{title:t="New Year Sale",highlightText:a="50% OFF",description:i="for a Limited Time Only",buttonText:s="Get 50% off",buttonUrl:l="/pricing",className:c}=e,{isVisible:m,dismiss:g}
1=(0,o.Z)(),[h,x]=(0,n.useState)(!1),[p,f]=(0,n.useState)({hours:0,minutes:0,seconds:0});return((0,n.useEffect)(()=>{x(!0)},[]),(0,n.useEffect)(()=>{if(!h)return;let e=()=>{let e=new Date,t=new Date(e);t.setHours(23,59,59,999);let a=Math.max(0,t.getTime()-e.getTime());return{hours:Math.floor(a/36e5),minutes:Math.floor(a/6e4%60),seconds:Math.floor(a/1e3%60)}};f(e());let t=setInterval(()=>f(e()),1e3);return()=>clearInterval(t)},[h]),h&&m)?(0,r.jsx)("div",{className:(0,d.cn)("fixed inset-x-0 top-0 z-[40] w-full overflow-hidden",c),children:(0,r.jsx)(u,{title:t,highlightText:a,description:i,buttonText:s,buttonUrl:l,timeLeft:p,onDismiss:g})}):null}function g(){let{isVisible:e}=(0,o.Z)();return e?(0,r.jsx)("div",{className:"h-11"}):null}},21839:(e,t,a)=>{"use strict";a.d(t,{G:()=>g});var r=a(21085),n=a(5017),i=a(64496),s=a(71784);let l=(0,a(50441).cache)(e=>e?function(e){let t;if(!e||"string"!=typeof e)return[];let a=new Map,r=/<a\s+[^>]*href=["']([^"']+)["'][^>]*>([\s\S]*?)<\/a>/gi;for(;null!==(t=r.exec(e));){let e=t[0],r=t[1],n=t[2],i=n.match(/<img\s+[^>]*src=["']([^"']+)["'][^>]*/i);if(i){let e=i[1],t=function(e){let t=e.toLowerCase();return t.includes("dark")||t.includes("-dark")?"dark":t.includes("light")||t.includes("white")||t.includes("-light")||t.includes("-white")?"light":"unknown"}(e),s=n.match(/alt=["']([^"']*)["']/i),l=s?s[1]:"",o=n.match(/width=["']?(\d+)["']?/i),d=o?parseInt(o[1],10):void 0,c=n.match(/height=["']?(\d+)["']?/i),u=c?parseInt(c[1],10):void 0,m=a.get(r);if(m&&"image"===m.type)"dark"===t?m.srcDark=e:"light"===t?m.srcLight=e:m.srcLight||(m.srcLight=e),!m.alt&&l&&(m.alt=l),!m.width&&d&&(m.width=d),!m.height&&u&&(m.height=u);else{let n={type:"image",href:r,alt:l,width:d,height:u};"dark"===t?n.srcDark=e:n.srcLight=e,a.set(r,n)}}else if(!a.has(r)){let t=e.match(/title=["']([^"']*)["']/i),i=t?t[1]:"",s=n.replace(/<[^>]*>/g,"").trim()||i;if(!s)try{s=new URL(r).hostname}catch(e){s=r}a.set(r,{type:"text",href:r,label:s})}}let n=[];for(let e of a.values())"image"===e.type&&(e.srcLight&&!e.srcDark?e.srcDark=e.srcLight:e.srcDark&&!e.srcLight&&(e.srcLight=e.srcDark)),n.push(e);return n}(e):[]);var o=a(64334),d=a(45819),c=a(27450),u=a(99340);function m(e){let{exchangeLinks:t}=e,a=(0,o.usePathname)(),n=(0,d.c3)("dashboard");return!function(e,t){let a=e?"/"!==e&&e.endsWith("/")?e.slice(0,-1):e:"/";return"/"===a||t.some(e=>a==="/".concat(e))}(a||"/",c.IB)||0===t.length?null:(0,r.jsx)("section",{"aria-label":n("friend_links"),"data-friendlink-section":!0,className:"relative overflow-hidden motion-reduce:[&_*]:!animate-none",children:(0,r.jsx)(u.r,{repeat:1,className:"[--duration:8s] [--gap:0.375rem] p-1",children:t.map((e,t)=>(0,r.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"border-secondary-container flex shrink-0 items-center justify-center rounded border bg-transparent px-1.5 py-0.5 opacity-80 transition-opacity hover:opacity-100",children:"text"===e.type?(0,r.jsx)("span",{className:"text-xs font-normal tracking-tight whitespace-nowrap text-transparent",children:e.label}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("img",{src:e.srcLight,alt:e.alt||"",width:e.width,height:e.height,loading:"lazy",decoding:"async",className:"block h-3.5 w-auto object-contain dark:hidden"}),(0,r.jsx)("img",{src:e.srcDark,alt:e.alt||"",width:e.width,height:e.height,loading:"lazy",decoding:"async",className:"hidden h-3.5 w-auto object-contain dark:block"})]})},"".concat(e.href,"-").concat(t)))})})}function g(e){var t,a,o,d;let{footer:c,exchangeLinksHtml:u}=e,g=(null==c||null==(t=c.nav)?void 0:t.items)||[],h=(null==c||null==(o=c.agreement)||null==(a=o.items)?void 0:a.length)?{title:c.agreement.title||"Legal",children:c.agreement.items}:null,x=h?[...g,h]:g,p=l(u);return(0,r.jsx)("footer",{className:"border-t border-white/5 bg-black/35 px-4 py-5 md:px-6 md:py-7",children:(0,r.jsxs)("div",{className:"mx-auto w-full max-w-[1480px] space-y-6",children:[(0,r.jsxs)("div",{className:"grid gap-8 md:grid-cols-[minmax(0,1.1fr)_minmax(0,1fr)] md:items-start md:gap-12",children:[(0,r.jsxs)("div",{className:"min-w-0 space-y-4",children:[(null==c?void 0:c.brand)?(0,r.jsx)("div",{className:"[&_.text-lg]:text-base [&_.text-lg]:md:text-[0.95rem]",children:(0,r.jsx)(i.F,{brand:c.brand})}):null,(null==c||null==(d=c.brand)?void 0:d.description)?(0,r.jsx)("p",{className:"text-muted-foreground max-w-[32rem] text-[0.9rem] leading-6 text-balance md:text-[0.85rem]",children:c.brand.description}):null,(0,r.jsx)("div",{className:"pt-1 [&_.text-sm]:text-[0.82rem] [&_.text-sm]:md:text-[0.78rem]",children:(null==c?void 0:c.brand)?(0,r.jsx)(s.Y,{brand:c.brand}):null})]}),(0,r.jsx)("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:x.map((e,t)=>{var a;return(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("span",{className:"text-foreground block text-[0.88rem] font-semibold md:text-[0.84rem]",children:e.title}),(0,r.jsx)("div",{className:"flex flex-col gap-3",children:null==(a=e.children)?void 0:a.map((e,t)=>(0,r.jsx)(n.N_,{href:e.url||"/",target:e.target||"_self",prefetch:!1,className:"text-muted-foreground hover:text-primary block text-[0.88rem] leading-6 transition-colors md:text-[0.84rem]",children:e.title||""},"".concat(e.title||"link","-").concat(t)))})]},"".concat(e.title||"footer","-").concat(t))})})]}
1),(0,r.jsx)(m,{exchangeLinks:p})]})})}},34820:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(50441);function n(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},40376:(e,t,a)=>{"use strict";a.d(t,{S:()=>n});var r=a(21085);function n(e){let{message:t}=e;return(0,r.jsx)("div",{className:"flex h-[50vh] w-full flex-col items-center justify-center",children:(0,r.jsx)("p",{children:t})})}},41448:(e,t,a)=>{Promise.resolve().then(a.bind(a,7814)),Promise.resolve().then(a.bind(a,44226))},41963:(e,t,a)=>{"use strict";a.d(t,{Qg:()=>s,bL:()=>o});var r=a(50441),n=a(21242),i=a(21085),s=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"}),l=r.forwardRef((e,t)=>(0,i.jsx)(n.sG.span,{...e,ref:t,style:{...s,...e.style}}));l.displayName="VisuallyHidden";var o=l},44226:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>c});var r=a(21085),n=a(5017),i=a(21839),s=a(81741),l=a(8550),o=a(89198);let d=new Set(["/ai-video-generator","/ai-image-generator","/text-to-image","/image-to-image","/text-to-video","/image-to-video","/reference-to-video","/video-to-video","/background-remover","/assets"]);function c(e){var t,a;let{children:c,header:u,footer:m,discountBanner:g,exchangeLinksHtml:h}=e,x=(0,n.a8)(),p=d.has(x.replace(/^\/[a-z]{2}(?=\/|$)/,"")||"/");return(0,r.jsx)(s.d0,{children:(0,r.jsxs)("div",{className:"min-h-screen w-full",children:[!p&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.DiscountBanner,{title:null==g?void 0:g.title,highlightText:null==g?void 0:g.highlight_text,description:null==g?void 0:g.description,buttonText:null==g||null==(t=g.button)?void 0:t.title,buttonUrl:null==g||null==(a=g.button)?void 0:a.url}),(0,r.jsx)(o.Header,{header:u})]}),(0,r.jsx)("main",{children:c}),!p&&(0,r.jsx)(i.G,{footer:m,exchangeLinksHtml:h})]})})}},64496:(e,t,a)=>{"use strict";a.d(t,{F:()=>i});var r=a(21085),n=a(5017);function i(e){let{brand:t,priority:a=!1}=e;return(0,r.jsxs)(n.N_,{href:t.url||"",target:t.target||"_self",className:"flex items-center space-x-2 ".concat(t.className),children:[t.logo&&(0,r.jsx)("img",{src:t.logo.src,alt:t.logo.alt||t.title||"Logo",width:t.logo.width||100,height:t.logo.height||100,loading:a?"eager":"lazy",fetchPriority:a?"high":"auto",decoding:"async",className:"h-10 w-auto"}),t.title&&(0,r.jsx)("span",{className:"text-lg font-medium",children:t.title})]})}},71784:(e,t,a)=>{"use strict";a.d(t,{Y:()=>i});var r=a(21085),n=a(246);function i(e){let{brand:t}=e,a=new Date().getFullYear();return(0,r.jsxs)("div",{className:"text-muted-foreground text-sm",children:["\xa9 ",a," ",(0,r.jsx)("a",{href:(null==t?void 0:t.url)||n._.app_url,target:(null==t?void 0:t.target)||"",className:"text-primary cursor-pointer underline underline-offset-4 hover:text-primary/80",children:(null==t?void 0:t.title)||n._.app_name}),", All rights reserved"]})}},81741:(e,t,a)=>{"use strict";a.d(t,{Z:()=>o,d0:()=>l,ri:()=>i});var r=a(21085),n=a(50441);let i="discount-banner-dismissed",s=(0,n.createContext)({isVisible:!1,dismiss:()=>{}});function l(e){let{children:t}
1=e,[a,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{localStorage.getItem(i)||l(!0)},[]),(0,r.jsx)(s.Provider,{value:{isVisible:a,dismiss:()=>{localStorage.setItem(i,"true"),l(!1)}},children:t})}function o(){return(0,n.useContext)(s)}},89198:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Header:()=>N});var r=a(21085),n=a(50441),i=a(10572),s=a(12565),l=a(5017),o=a(7930),d=a(44750),c=a(63428),u=a(22471),m=a(39241),g=a(29395);let h=n.forwardRef((e,t)=>{let{className:a,children:n,viewport:i=!0,...s}=e;return(0,r.jsxs)(c.bL,{ref:t,"data-slot":"navigation-menu","data-viewport":i,role:"navigation",className:(0,g.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",a),...s,children:[n,i&&(0,r.jsx)(w,{})]})});function x(e){let{className:t,...a}=e;return(0,r.jsx)(c.B8,{"data-slot":"navigation-menu-list",className:(0,g.cn)("group flex flex-1 list-none items-center justify-center gap-1",t),...a})}function p(e){let{className:t,...a}=e;return(0,r.jsx)(c.q7,{"data-slot":"navigation-menu-item",className:(0,g.cn)("relative",t),...a})}h.displayName=c.bL.displayName;let f=(0,u.F)("group inline-flex h-8 w-max items-center justify-center rounded-md border border-transparent px-4 py-1 text-sm font-medium text-muted-foreground hover:bg-accent/85 hover:text-foreground focus:bg-accent/85 focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:border-border/70 data-[state=open]:bg-accent/90 data-[state=open]:text-foreground focus-visible:ring-ring/40 outline-none transition-[color,background-color,border-color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function v(e){let{className:t,children:a,...n}=e;return(0,r.jsxs)(c.l9,{"data-slot":"navigation-menu-trigger",className:(0,g.cn)(f(),"group",t),...n,children:[a,(0,r.jsx)(m.A,{className:"relative top-[1px] ml-1.5 size-3 opacity-75 transition duration-300 group-data-[state=open]:translate-y-px","aria-hidden":"true",strokeWidth:2.5})]})}function b(e){let{className:t,...a}=e;return(0,r.jsx)(c.UC,{"data-slot":"navigation-menu-content",className:(0,g.cn)("left-0 top-0 w-full p-2 pr-2.5 md:absolute md:w-auto","data-[motion=from-end]:animate-enter-from-right data-[motion=from-start]:animate-enter-from-left data-[motion=to-end]:animate-exit-to-right data-[motion=to-start]:animate-exit-to-left","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 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:bg-popover/85 group-data-[viewport=false]/navigation-menu:rounded-(--radius) group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:-translate-x-1/3 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-border/70 group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:backdrop-blur-xl group-data-[viewport=false]/navigation-menu:duration-200",t),...a})}function w(e){let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,g.cn)("px-(--viewport-outer-px) fixed inset-x-0 top-12 isolate z-50 mx-auto flex max-w-6xl"),children:(0,r.jsx)(c.LM,{"data-slot":"navigation-menu-viewport",className:(0,g.cn)("bg-popover/85 text-popover-foreground h-(--radix-navigation-menu-viewport-height) rounded-(--radius) md:w-(--radix-navigation-menu-viewport-width) relative mt-1.5 w-full origin-top overflow-hidden border border-border/70 p-0.5 shadow-xl backdrop-blur-xl transition-[width,height] duration-200","data-[state=closed]:animate-scale-out data-[state=open]:animate-scale-in",t),...a})})}function j(e){let{className:t,...a}=e;return(0,r.jsx)(c.N_,{"data-slot":"navigation-menu-link",className:(0,g.cn)("data-[active=true]:focus:bg-accent/90 data-[active=true]:hover:bg-accent/90 data-[active=true]:bg-accent/80 data-[active=true]:text-foreground hover:bg-accent/80 hover:text-foreground focus:bg-accent/80 focus:text-foreground focus-visible:ring-ring/40 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-md p-2 text-sm outline-none transition-all focus-visible:outline-1 focus-visible:ring-[3px] [&_svg:not([class*='size-'])]:size-4",t),...a})}var y=a(81741);function N(e){let{header:t}
1=e,[a,c]=(0,n.useState)(!1),[u,m]=(0,n.useState)(!1),f=function(e){let[t,a]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{let t=window.matchMedia(e);a(t.matches);let r=()=>a(t.matches);return t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[e]),t}("(min-width: 64rem)");(0,l.rd)();let w=(0,l.a8)(),{isVisible:N}=(0,y.Z)();function k(e){let{title:t,description:a,children:n,href:i,...s}=e;return(0,r.jsx)("li",{...s,children:(0,r.jsx)(j,{asChild:!0,children:(0,r.jsxs)(l.N_,{href:i,className:"grid grid-cols-[auto_1fr] gap-3.5",children:[(0,r.jsx)("div",{className:"bg-background ring-foreground/10 relative flex size-9 items-center justify-center rounded border border-transparent shadow shadow-sm ring-1",children:n}),(0,r.jsxs)("div",{className:"space-y-0.5",children:[(0,r.jsx)("div",{className:"text-foreground text-sm font-medium",children:t}),(0,r.jsx)("p",{className:"text-muted-foreground line-clamp-1 text-xs",children:a})]})]})})})}return(0,n.useEffect)(()=>{let e=()=>{m(window.scrollY>50)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("header",{"data-state":a?"active":"inactive",...u&&{"data-scrolled":!0},className:(0,g.cn)("has-data-[state=open]:bg-background/50 fixed inset-x-0 z-30 transition-[top] duration-200 has-data-[state=open]:h-screen has-data-[state=open]:backdrop-blur",N?"top-11":"top-0"),children:(0,r.jsx)("div",{className:(0,g.cn)("absolute inset-x-0 top-0 z-30 h-18 border-transparent ring-1 ring-transparent transition-[height,background-color,border-color,box-shadow] duration-300 transform-gpu","in-data-scrolled:border-foreground
1/5 in-data-scrolled:bg-background/75 in-data-scrolled:border-b in-data-scrolled:backdrop-blur","has-data-[state=open]:ring-foreground/5 has-data-[state=open]:bg-card/75 has-data-[state=open]:h-[calc(var(--navigation-menu-viewport-height)+3.4rem)] has-data-[state=open]:border-b has-data-[state=open]:shadow-lg has-data-[state=open]:shadow-black/10 has-data-[state=open]:backdrop-blur","max-lg:in-data-[state=active]:bg-background/75 max-lg:h-14 max-lg:overflow-hidden max-lg:border-b max-lg:in-data-[state=active]:h-screen max-lg:in-data-[state=active]:backdrop-blur"),children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"relative flex flex-wrap items-center justify-between lg:py-5",children:[(0,r.jsxs)("div",{className:"flex justify-between gap-8 max-lg:h-14 max-lg:w-full max-lg:border-b",children:[t.brand&&(0,r.jsx)(o.FQ,{brand:t.brand}),(0,r.jsx)(()=>{var e,a;(0,n.useRef)(null);let i=(w||"/").replace(/\/$/,"")||"/",s=e=>!e||e.startsWith("#")||e.startsWith("mailto:")||e.startsWith("http")?"":e.split("?")[0].replace(/\/$/,"")||"/";return(0,r.jsx)(h,{viewport:!1,className:"**:data-[slot=navigation-menu-content]:top-10 max-lg:hidden",children:(0,r.jsx)(x,{className:"gap-2",children:null==(a=t.nav)||null==(e=a.items)?void 0:e.map((e,t)=>{var a,n,d;let c=(e=>{var t;if(e.is_active)return!0;let a=s(e.url);return("/"===a?"/"===i:!!(a&&i.endsWith(a)))||!!(null==(t=e.children)?void 0:t.some(e=>{let t=s(e.url);return"/"===t?"/"===i:!!(t&&i.endsWith(t))}))})(e);return e.children&&0!==e.children.length?(0,r.jsxs)(p,{children:[(0,r.jsxs)(v,{className:(0,g.cn)("text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/40 data-[state=open]:text-foreground flex h-auto flex-row items-center gap-2 border-0 bg-transparent px-4 py-1.5 text-sm",c&&"bg-muted/40 text-foreground"),children:[e.icon&&(0,r.jsx)(o.LK,{name:e.icon,className:"h-4 w-4"}),e.title]}),(0,r.jsx)(b,{forceMount:!0,className:"data-[state=closed]:hidden min-w-2xs origin-top p-0.5",children:(0,r.jsx)("div",{className:"border-foreground
1/5 bg-card ring-foreground/5 rounded-[calc(var(--radius)-2px)] border border-transparent p-2 shadow ring-1",children:(0,r.jsx)("ul",{className:"mt-1 space-y-2",children:null==(a=e.children)?void 0:a.map((e,t)=>{var a,n;return(0,r.jsx)(k,{href:e.url||"",title:e.title||"",description:e.description||"","data-analytics-action":"nav_click","data-analytics-key":(null==(a=e.title)?void 0:a.toLowerCase().replace(/\s+/g,"_"))||"nav_subitem","data-analytics-text":e.title,"data-analytics-entry":"header","data-analytics-id":"header_nav_sub_".concat((null==(n=e.title)?void 0:n.toLowerCase().replace(/\s+/g,"_"))||t),children:e.icon&&(0,r.jsx)(o.LK,{name:e.icon})},t)})})})})]},t):(0,r.jsx)(j,{asChild:!0,children:(0,r.jsxs)(l.N_,{href:e.url||"",target:e.target||"_self",className:(0,g.cn)("flex flex-row items-center gap-2 px-4 py-1.5 text-sm",c&&"bg-muted/40 text-foreground"),"data-analytics-action":"/pricing"===e.url?"click_pricing":"/ai-image-generator"===e.url?"click_ai_image_generator":"nav_click","data-analytics-key":(null==(n=e.title)?void 0:n.toLowerCase().replace(/\s+/g,"_"))||"nav_item","data-analytics-text":e.title,"data-analytics-entry":"header","data-analytics-id":"header_nav_".concat((null==(d=e.title)?void 0:d.toLowerCase().replace(/\s+/g,"_"))||t),children:[e.icon&&(0,r.jsx)(o.LK,{name:e.icon}),(0,r.jsxs)("span",{className:"relative",children:[e.title,e.badge&&(0,r.jsx)("span",{className:"absolute -top-3.5 right-0 translate-x-full animate-pulse rounded-full bg-gradient-to-r from-violet-600 via-purple-500 to-pink-500 px-2 py-1 text-[10px] leading-none font-bold whitespace-nowrap text-white shadow-sm",children:e.badge})]})]})},t)})})})},{}),(0,r.jsxs)("button",{onClick:()=>c(!a),"aria-label":!0==a?t.close_menu_label||"Close Menu":t.open_menu_label||"Open Menu",className:"relative z-20 -m-2.5 -mr-3 block cursor-pointer p-2.5 lg:hidden",children:[(0,r.jsx)(i.A,{className:"m-auto size-5 duration-200 in-data-[state=active]:scale-0 in-data-[state=active]:rotate-180 in-data-[state=active]:opacity-0"}),(0,r.jsx)(s.A,{className:"absolute inset-0 m-auto size-5 scale-0 -rotate-180 opacity-0 duration-200 in-data-[state=active]:scale-100 in-data-[state=active]:rotate-0 in-data-[state=active]:opacity-100"})]})]}),!f&&a&&(0,r.jsx)(e=>{var a,n;let{closeMenu:i}=e;return(0,r.jsx)("nav",{role:"navigation",className:"w-full [--color-border:--alpha(var(--color-foreground)/5%)] [--color-muted:--alpha(var(--color-foreground)/5%)]",children:(0,r.jsx)(d.Accordion,{type:"single",collapsible:!0,className:"-mx-4 mt-0.5 space-y-0.5 **:hover:no-underline",children:null==(n=t.nav)||null==(a=n.items)?void 0:a.map((e,t)=>{var a,n,s;return(0,r.jsx)(d.AccordionItem,{value:e.title||"",className:"group relative border-b-0 before:pointer-events-none before:absolute before:inset-x-4 before:bottom-0 before:border-b",children:e.children&&e.children.length>0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.AccordionTrigger,{className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:e.title}),(0,r.jsx)(d.AccordionContent,{className:"pb-5",children:(0,r.jsx)("ul",{children:null==(a=e.children)?void 0:a.map((e,t)=>{var a,n;return(0,r.jsx)("li",{children:(0,r.jsxs)(l.N_,{href:e.url||"",onClick:i,className:"grid grid-cols-[auto_1fr] items-center gap-2.5 px-4 py-2","data-analytics-action":"nav_click","data-analytics-key":(null==(a=e.title)?void 0:a.toLowerCase().replace(/\s+/g,"_"))||"mobile_nav_item","data-analytics-text":e.title,"data-analytics-entry":"header_mobile","data-analytics-id":"mobile_nav_".concat((null==(n=e.title)?void 0:n.toLowerCase().replace(/\s+/g,"_"))||t),children:[(0,r.jsx)("div",{"aria-hidden":!0,className:"flex items-center justify-center *:size-4",children:e.icon&&(0,r.jsx)(o.LK,{name:e.icon})}),(0,r.jsx)("div",{className:"text-base",children:e.title})]})},t)})})})]}):(0,r.jsx)(l.N_,{href:e.url||"",onClick:i,className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal","data-analytics-action":"/pricing"===e.url?"click_pricing":"/ai-image-generator"===e.url?"click_ai_image_generator":"nav_click","data-analytics-key":(null==(n=e.title)?void 0:n.toLowerCase().replace(/\s+/g,"_"))||"mobile_nav_item","data-analytics-text":e.title,"data-analytics-entry":"header_mobile","data-analytics-id":"mobile_nav_".concat((null==(s=e.title)?void 0:s.toLowerCase().replace(/\s+/g,"_"))||t),children:e.title})},t)})})})},{closeMenu:()=>c(!1)}),(0,r.jsx)("div",{className:"mb-6 hidden w-full flex-wrap items-center justify-end space-y-8 in-data-[state=active]:flex max-lg:in-data-[state=active]:mt-6 md:flex-nowrap lg:m-0 lg:flex lg:w-fit lg:gap-6 lg:space-y-0 lg:border-transparent lg:bg-transparent lg:p-0 lg:shadow-none dark:shadow-none dark:lg:bg-transparent",children:(0,r.jsxs)("div",{className:"flex w-full flex-row items-center gap-4 sm:flex-row sm:gap-6 sm:space-y-0 md:w-fit",children:[t.buttons&&t.buttons.map((e,t)=>{var a,n;return(0,r.jsxs)(l.N_,{href:e.url||"",target:e.target||"_self",className:(0,g.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-7 px-3 ring-0","outline"===e.variant?"bg-background border-primary ring-foreground
1/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200":"bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md ring-1 shadow-black/20 ring-(--ring-color) [--ring-color:color-mix(in_oklab,var(--color-foreground)15%,var(--color-primary))]"),"data-analytics-action":"/pricing"===e.url?"click_pricing":"cta_click","data-analytics-key":(null==(a=e.title)?void 0:a.toLowerCase().replace(/\s+/g,"_"))||"header_btn","data-analytics-text":e.title,"data-analytics-entry":"header","data-analytics-id":"header_btn_".concat((null==(n=e.title)?void 0:n.toLowerCase().replace(/\s+/g,"_"))||t),children:[e.icon&&(0,r.jsx)(o.LK,{name:e.icon,className:"size-4"}),(0,r.jsx)("span",{children:e.title})]},t)}),t.show_theme?(0,r.jsx)(o.GC,{}):null,t.show_locale?(0,r.jsx)(o.YC,{}):null,(0,r.jsx)("div",{className:"flex-1 md:hidden"}),t.show_sign?(0,r.jsx)(o.TS,{userNav:t.user_nav}):null]})})]})})})})})}},99340:(e,t,a)=>{"use strict";a.d(t,{r:()=>i});var r=a(21085),n=a(29395);function i(e){let{className:t,reverse:a=!1,pauseOnHover:i=!1,children:s,vertical:l=!1,repeat:o=4,...d}=e;return(0,r.jsx)("div",{...d,className:(0,n.cn)("group flex [gap:var(--gap)] overflow-hidden p-2 [--duration:40s] [--gap:1rem]",{"flex-row":!l,"flex-col":l},t),children:Array(o).fill(0).map((e,t)=>(0,r.jsx)("div",{className:(0,n.cn)("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!l,"animate-marquee-vertical flex-col":l,"group-hover:[animation-play-state:paused]":i,"[animation-direction:reverse]":a}),children:s},t))})}}},e=>{e.O(0,[36167,90991,1261,89265,21991,20080,86915,62516,15365,72830,31519,2733,94552,96040,7251,83826,63428,93227,86364,50821,77358],()=>e(e.s=41448)),_N_E=e.O()}]);
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.