PageSourceSearch

https://songgeneratorai.net/_next/static/chunks/app/%5Blocale%5D/(marketing)/layout-7a05417934b826b1.js

js songgeneratorai.net collected 2026-10-01 23:50:05 UTC 37,207 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9278],{29694:(e,t,a)=>{"use strict";a.d(t,{D:()=>r});let r=(0,a(48403).v)(e=>({currentLocale:"",setCurrentLocale:t=>e(e=>({currentLocale:t}))}))},39347:(e,t,a)=>{"use strict";a.d(t,{LimitedOfferBanner:()=>b});var r=a(51129),n=a(85574),s=a.n(n),o=a(65133),i=a(76329),l=a(84582),d=a(68655),c=a(82838),u=a(17947),m=a(7403),f=a(55730),x=a(82572),g=a(97973),p=a(60287),h=a(47844),v=a(41788);function b(e){let{className:t,dismissible:a=!0,offerEndDate:n,discountPercentage:b=50}=e,j=(0,i.c3)("Common.limitedOffer"),[w,N]=(0,o.useState)(!0),[y,k]=(0,o.useState)(""),[z,C]=(0,o.useState)(!1),[_,O]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{C(!0);let e=localStorage.getItem("offer-banner-dismissed"),t=localStorage.getItem("offer-banner-dismissed-time");if("true"===e&&t){let e=new Date(t);(new Date().getTime()-e.getTime())/36e5<24?N(!1):(localStorage.removeItem("offer-banner-dismissed"),localStorage.removeItem("offer-banner-dismissed-time"))}},[]),(0,o.useEffect)(()=>{if(!n)return;let e=()=>{let e=new Date,t=n.getTime()-e.getTime();if(t>0){let e=Math.floor(t/864e5),a=Math.floor(t/36e5%24),r=Math.floor(t/1e3/60%60);e>0?k("".concat(e,"d ").concat(a,"h")):a>0?k("".concat(a,"h ").concat(r,"m")):k("".concat(r,"m"))}else k("")};e();let t=setInterval(e,6e4);return()=>clearInterval(t)},[n]),z)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.N,{mode:"wait",children:w&&(0,r.jsx)(h.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeInOut"},className:(0,f.cn)("overflow-hidden",t),children:(0,r.jsxs)("div",{className:"jsx-a4f57c4df65a22e5 relative",children:[(0,r.jsx)("div",{className:"jsx-a4f57c4df65a22e5 "+((0,f.cn)("absolute inset-0 bg-gradient-to-r from-purple-600 via-pink-500 to-blue-500","lob-gradient-bg")||"")}),(0,r.jsxs)("div",{className:"jsx-a4f57c4df65a22e5 absolute inset-0 opacity-30",children:[(0,r.jsx)("div",{className:"jsx-a4f57c4df65a22e5 absolute top-2 left-[10%] animate-pulse",children:(0,r.jsx)(l.A,{className:"h-4 w-4 text-white"})}),(0,r.jsx)("div",{className:"jsx-a4f57c4df65a22e5 "+((0,f.cn)("absolute top-3 right-[15%] animate-pulse","lob-delay-75")||""),children:(0,r.jsx)(l.A,{className:"h-3 w-3 text-white"})}),(0,r.jsx)("div",{className:"jsx-a4f57c4df65a22e5 "+((0,f.cn)("absolute bottom-2 left-[40%] animate-pulse","lob-delay-150")||""),children:(0,r.jsx)(l.A,{className:"h-3 w-3 text-white"})}),(0,r.jsx)("div",{className:"jsx-a4f57c4df65a22e5 "+((0,f.cn)("absolute bottom-3 right-[25%] animate-pulse","lob-delay-300")||""),children:(0,r.jsx)(l.A,{className:"h-4 w-4 text-white"})})]}),(0,r.jsx)("div",{className:"jsx-a4f57c4df65a22e5 relative px-4 py-3 sm:px-6 lg:px-8",children:(0,r.jsx)("div",{className:"jsx-a4f57c4df65a22e5 mx-auto max-w-7xl",children:(0,r.jsx)("div",{className:"jsx-a4f57c4df65a22e5 flex items-center justify-center",children:(0,r.jsxs)("div",{className:"jsx-a4f57c4df65a22e5 flex items-center gap-3 sm:gap-4",children:[(0,r.jsx)(h.P.div,{animate:{rotate:[0,-10,10,-10,0],scale:[1,1.1,1]},transition:{duration:2,repeat:Number.POSITIVE_INFINITY,repeatDelay:3},className:"flex-shrink-0",children:(0,r.jsx)(d.A,{className:"h-5 w-5 text-white sm:h-6 sm:w-6"})}),(0,r.jsxs)("p",{className:"jsx-a4f57c4df65a22e5 text-sm font-medium text-white sm:text-base",children:[(0,r.jsx)("span",{className:"jsx-a4f57c4df65a22e5 hidden sm:inline",children:j("title",{percentage:b})}),(0,r.jsx)("span",{className:"jsx-a4f57c4df65a22e5 sm:hidden",children:(0,r.jsxs)("strong",{className:"jsx-a4f57c4df65a22e5 text-base",children:[b,"% OFF!"]})})]}),y&&(0,r.jsxs)("div",{className:"jsx-a4f57c4df65a22e5 flex items-center gap-1 rounded-full bg-white/20 px-2.5 py-1 backdrop-blur-sm",children:[(0,r.jsx)(c.A,{className:"h-3 w-3 text-white"}),(0,r.jsx)("span",{className:"jsx-a4f57c4df65a22e5 text-xs font-medium text-white",children:y})]}),(0,r.jsx)(h.P.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:(0,r.jsxs)(g.$,{onClick:()=>O(!0),size:"sm",className:"group relative overflow-hidden bg-white text-purple-600 hover:bg-white/90 shadow-lg",children:[(0,r.jsxs)("span",{className:"jsx-a4f57c4df65a22e5 relative z-10 flex items-center gap-1 font-semibold",children:[j("cta"),(0,r.jsx)(u.A,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]}),(0,r.jsx)("div",{className:"jsx-a4f57c4df65a22e5 "+((0,f.cn)("absolute inset-0 -translate-x-full bg-gradient-to-r from-transparent via-white/30 to-transparent","lob-shimmer-sweep")||"")})]})}),a&&(0,r.jsx)("button",{type:"button",onClick:()=>{N(!1),a&&(localStorage.setItem("offer-banner-dismissed","true"),localStorage.setItem("offer-banner-dismissed-time",new Date().toISOString()))},"aria-label":"Dismiss offer",className:"jsx-a4f57c4df65a22e5 ml-3 flex-shrink-0 rounded-full p-1 text-white/80 transition-colors hover:bg-white/20 hover:text-white",children:(0,r.jsx)(m.A,{className:"h-4 w-4"})})]})})})})]})})}),(0,r.jsx)(v.T,{open:_,onOpenChange:O,metadata:{...(0,x.h6)()&&{promo_code:(0,x.h6)()},discount_percentage:b.toString(),expires_at:(null==n?void 0:n.toISOString())||"",from:"limited-offer-banner"}}),(0,r.jsx)(s(),{id:"a4f57c4df65a22e5",children:".lob-gradient-bg.jsx-a4f57c4df65a22e5{-webkit-background-size:200%200%;-moz-background-size:200%200%;-o-background-size:200%200%;background-size:200%200%;-webkit-animation:lob-gradient-x 3s ease infinite;-moz-animation:lob-gradient-x 3s ease infinite;-o-animation:lob-gradient-x 3s ease infinite;animation:lob-gradient-x 3s ease infinite}.lob-shimmer-sweep.jsx-a4f57c4df65a22e5{-webkit-animation:lob-shimmer-sweep 2s linear infinite;-moz-animation:lob-shimmer-sweep 2s linear infinite;-o-animation:lob-shimmer-sweep 2s linear infinite;animation:lob-shimmer-sweep 2s linear infinite}.lob-delay-75.jsx-a4f57c4df65a22e5{-webkit-animation-delay:75ms;-moz-animation-delay:75ms;-o-animation-delay:75ms;animation-delay:75ms}.lob-delay-150.jsx-a4f57c4df65a22e5{-webkit-animation-delay:150ms;-moz-animation-delay:150ms;-o-animation-delay:150ms;animation-delay:150ms}.lob-delay-300.jsx-a4f57c4df65a22e5{-webkit-animation-delay:300ms;-moz-animation-delay:300ms;-o-animation-delay:300ms;animation-delay:300ms}@-webkit-keyframes lob-gradient-x{0%,100%{background-position:0%50%}50%{background-position:100%50%}
1}@-moz-keyframes lob-gradient-x{0%,100%{background-position:0%50%}50%{background-position:100%50%}}@-o-keyframes lob-gradient-x{0%,100%{background-position:0%50%}50%{background-position:100%50%}}@keyframes lob-gradient-x{0%,100%{background-position:0%50%}50%{background-position:100%50%}}@-webkit-keyframes lob-shimmer-sweep{0%{-webkit-transform:translatex(-100%);transform:translatex(-100%)}100%{-webkit-transform:translatex(100%);transform:translatex(100%)}}@-moz-keyframes lob-shimmer-sweep{0%{-moz-transform:translatex(-100%);transform:translatex(-100%)}100%{-moz-transform:translatex(100%);transform:translatex(100%)}}@-o-keyframes lob-shimmer-sweep{0%{-o-transform:translatex(-100%);transform:translatex(-100%)}100%{-o-transform:translatex(100%);transform:translatex(100%)}}@keyframes lob-shimmer-sweep{0%{-webkit-transform:translatex(-100%);-moz-transform:translatex(-100%);-o-transform:translatex(-100%);transform:translatex(-100%)}100%{-webkit-transform:translatex(100%);-moz-transform:translatex(100%);-o-transform:translatex(100%);transform:translatex(100%)}}"})]}):null}},41842:(e,t,a)=>{"use strict";a.d(t,{Navbar:()=>es});var r=a(51129),n=a(67334),s=a(35302),o=a(34595),i=a(57988),l=a(3212),d=a(4617),c=a(8685),u=a(10528),m=a(32764),f=a(29694),x=a(79522),g=a(65133);function p(){let e=(0,u.tx)(),t=(e=>{let t=new RegExp("^/(?:".concat(m.YZ.join("|"),")(?=/|$)")),a=e.replace(t,"");return 0===a.length?"/":a})((0,u.iN)()),a=(0,x.Ym)(),{currentLocale:n,setCurrentLocale:s}=(0,f.D)(),[,o]=(0,g.useTransition)(),i=Object.keys(c.u.i18n.locales).length>1;return((0,g.useEffect)(()=>{s(a)},[a,s]),i)?(0,r.jsxs)(d.l6,{defaultValue:a,value:n,onValueChange:a=>{s(a),o(()=>{e.replace(t,{locale:a})})},children:[(0,r.jsx)(d.bq,{className:"w-fit cursor-pointer",children:(0,r.jsx)(d.yv,{placeholder:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[c.u.i18n.locales[m.Xn].flag&&(0,r.jsx)("span",{className:"text-lg",children:c.u.i18n.locales[m.Xn].flag}),(0,r.jsx)("span",{children:c.u.i18n.locales[m.Xn].name})]}),children:n&&(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[c.u.i18n.locales[n].flag&&(0,r.jsx)("span",{className:"text-lg",children:c.u.i18n.locales[n].flag}),(0,r.jsx)("span",{children:c.u.i18n.locales[n].name})]})})}),(0,r.jsx)(d.gC,{children:Object.entries(c.u.i18n.locales).map(e=>{let[t,a]=e;return(0,r.jsx)(d.eb,{value:t,className:"cursor-pointer flex items-center gap-2",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[a.flag&&(0,r.jsx)("span",{className:"text-md",children:a.flag}),(0,r.jsx)("span",{children:a.name})]})},t)})})]}):null}var h=a(40197),v=a(97973),b=a(13834);function j(e){let{...t}=e;return(0,r.jsx)(b.bL,{"data-slot":"collapsible",...t})}function w(e){let{...t}=e;return(0,r.jsx)(b.R6,{"data-slot":"collapsible-trigger",...t})}function N(e){let{...t}=e;return(0,r.jsx)(b.Ke,{"data-slot":"collapsible-content",...t})}var y=a(50711),k=a(76329),z=a(42840);function C(){let e=(0,k.c3)("Marketing.navbar");return[{title:e("showcase.title"),href:"/#showcase"},{title:e("aiTools.title"),items:[{title:e("aiTools.items.aiLyricsGenerator.title"),description:e("aiTools.items.aiLyricsGenerator.description"),href:y.BV.AILyricsGenerator,localeOverride:m.Xn,icon:(0,r.jsx)(z.A,{className:"size-4"})}]},{title:e("faq.title"),href:"/#faq"},{title:e("pricing.title"),href:y.BV.Pricing},{title:e("myCreations.title"),href:y.BV.Creations,localeOverride:m.Xn}]}var _=a(77193),O=a(55730),E=a(36519),L=a(7403),S=a(57946),A=a(22755),T=a(17947),I=a(63975),P=a(31968),X=a(65346),M=a(64494),D=a(33864),B=a(64044),F=a(34968),$=a(60676);function V(e){let{user:t}=e,a=(0,k.c3)(),n=(0,D.z)(),s=(0,u.tx)(),[o,i]=(0,g.useState)(!1),{resetState:l}=(0,B.J)(),d=()=>{i(!1)},c=async()=>{await _.y.signOut({fetchOptions:{onSuccess:()=>{console.log("sign out success"),l(),s.replace("/")},onError:e=>{console.error("sign out error:",e),$.o.error(a("Common.logoutFailed"))}}})};return(0,r.jsxs)(M._s,{open:o,onClose:d,children:[(0,r.jsx)(M.Uz,{onClick:()=>i(!0),children:(0,r.jsx)(X.H,{name:t.name,image:t.image,className:"size-8 border cursor-pointer"})}),(0,r.jsxs)(M.uT,{children:[(0,r.jsx)(M.QP,{className:"fixed inset-0 z-40 bg-background/50"}
1),(0,r.jsxs)(M.zj,{className:"fixed inset-x-0 bottom-0 z-50 mt-24  overflow-hidden rounded-t-[10px] border bg-background px-3 text-sm",children:[(0,r.jsx)(M.BE,{children:(0,r.jsx)(M.gk,{})}),(0,r.jsxs)("div",{className:"flex items-center justify-start gap-4 p-2",children:[(0,r.jsx)(X.H,{name:t.name,image:t.image,className:"size-8 border cursor-pointer"}),(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("p",{className:"font-medium",children:t.name}),(0,r.jsx)("p",{className:"w-[200px] truncate text-muted-foreground",children:t.email})]})]}),(0,r.jsxs)("ul",{className:"mb-14 mt-1 w-full text-muted-foreground",children:[null==n?void 0:n.map(e=>(0,r.jsx)("li",{className:"rounded-lg text-foreground hover:bg-muted",children:(0,r.jsxs)(u.XO,{href:e.href||"#",onClick:d,className:"flex w-full items-center gap-3 px-2.5 py-2",children:[e.icon?e.icon:null,(0,r.jsx)("p",{className:"text-sm",children:e.title})]})},e.title)),(0,r.jsx)("li",{className:"rounded-lg text-foreground hover:bg-muted",children:(0,r.jsxs)("a",{href:"#",onClick:async e=>{e.preventDefault(),d(),c()},className:"flex w-full items-center gap-3 px-2.5 py-2",children:[(0,r.jsx)(F.A,{className:"size-4"}),(0,r.jsx)("p",{className:"text-sm",children:a("Common.logout")})]})},"logout")]})]})]})]})}function R(e){let{className:t,...a}=e,s=(0,k.c3)(),[l,d]=g.useState(!1),c=(0,u.iN)(),[m,f]=(0,g.useState)(!1),{data:x,isPending:p}=_.y.useSession(),h=null==x?void 0:x.user;(0,g.useEffect)(()=>{f(!0)},[]),(0,g.useEffect)(()=>{document.activeElement instanceof HTMLInputElement&&document.activeElement.blur(),d(!1)},[c]);let b=()=>{let e=window.matchMedia("(min-width: 1024px)");d(t=>!!t&&!e.matches)};(0,g.useEffect)(()=>{b();let e=window.matchMedia("(min-width: 1024px)");return e.addEventListener("change",b),()=>e.removeEventListener("change",b)},[]);let j=()=>{d(e=>!e)};return m?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,O.cn)("flex items-center justify-between",t),...a,children:[(0,r.jsxs)(u.XO,{href:y.BV.Root,className:"flex items-center gap-2 min-w-0",children:[(0,r.jsx)(i.Logo,{}),(0,r.jsx)("span",{className:"hidden min-[380px]:block text-xl font-semibold whitespace-nowrap truncate max-w-[45vw]",title:s("Metadata.name"),children:s("Metadata.name")})]}),(0,r.jsxs)("div",{className:"flex items-center justify-end gap-4",children:[p?(0,r.jsx)(P.E,{className:"size-8 border rounded-full"}):h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.CreditsBalanceButton,{}),(0,r.jsx)(V,{user:h})]}):(0,r.jsx)(n.n,{mode:"modal",asChild:!0,children:(0,r.jsx)(v.$,{variant:"outline",size:"sm",className:"h-8 px-3 cursor-pointer",children:s("Common.login")})}),(0,r.jsx)(v.$,{variant:"ghost",size:"icon","aria-expanded":l,"aria-label":"Toggle Mobile Menu",onClick:j,className:"size-8 flex aspect-square h-fit select-none items-center justify-center rounded-md border cursor-pointer",children:l?(0,r.jsx)(L.A,{className:"size-4"}):(0,r.jsx)(S.A,{className:"size-4"})})]})]}),l&&(0,r.jsx)(E.Z,{children:!p&&(0,r.jsx)(W,{userLoggedIn:!!h,onLinkClicked:j})})]}):null}function W(e){let{userLoggedIn:t,onLinkClicked:a}=e,[s,o]=g.useState({}),i=(0,k.c3)(),l=C(),d=(0,u.iN)(),c=(e=>{let t=new RegExp("^/(?:".concat(m.YZ.join("|"),")(?=/|$)")),a=e.replace(t,"");return 0===a.length?"/":a})(d);return(0,r.jsx)("div",{className:"fixed w-full left-0 top-[64px] bottom-0 z-50 overflow-y-auto bg-background backdrop-blur-md animate-in fade-in-0",children:(0,r.jsxs)("div",{className:"min-h-full flex flex-col items-start space-y-4",children:[(0,r.jsx)("ul",{className:"w-full px-4",children:null==l?void 0:l.map(e=>{var t;let n=e.href?"/"===e.href?"/"===d:d.startsWith(e.href):null===(t=e.items)||void 0===t?void 0:t.some(e=>e.href&&("/"===e.href?"/"===d:d.startsWith(e.href)));return(0,r.jsx)("li",{className:"py-1",children:e.items?(0,r.jsxs)(j,{open:s[e.title.toLowerCase()],onOpenChange:t=>o(a=>({...a,[e.title.toLowerCase()]:t})),children:[(0,r.jsx)(w,{asChild:!0,children:(0,r.jsxs)(v.$,{type:"button",variant:"ghost",className:(0,O.cn)("flex w-full !pl-2 items-center justify-between text-left","bg-transparent text-muted-foreground cursor-pointer","hover:bg-transparent hover:text-foreground","focus:bg-transparent focus:text-foreground",n&&"font-semibold bg-transparent text-foreground"),children:[(0,r.jsx)("span",{className:"text-base",children:e.title}),s[e.title.toLowerCase()]?(0,r.jsx)(A.A,{className:"size-4"}):(0,r.jsx)(T.A,{className:"size-4"})]})}),(0,r.jsx)(N,{className:"pl-2",children:(0,r.jsx)("ul",{className:"mt-2 space-y-2 pl-0",children:e.items.map((e,t)=>{let n=e.href&&d.startsWith(e.href);return e.isGroupHeader?(0,r.jsx)("li",{className:(0,O.cn)(t>0&&"mt-3 pt-3 border-t border-border/50"),children:(0,r.jsx)("div",{className:"px-2 py-1 text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:e.title})},e.title):(0,r.jsx)("li",{children:e.localeOverride===m.Xn?(0,r.jsxs)("a",{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,O.cn)((0,v.r)({variant:"ghost"}),"group h-auto w-full justify-start gap-4 p-1 !pl-0 !pr-3","bg-transparent text-muted-foreground cursor-pointer","hover:bg-transparent hover:text-foreground","focus:bg-transparent focus:text-foreground",n&&"font-semibold bg-transparent text-foreground"),onClick:a,children:[(0,r.jsx)("div",{className:(0,O.cn)("flex size-8 shrink-0 items-center justify-center transition-colors ml-0","bg-transparent text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",n&&"bg-transparent text-foreground"),children:e.icon?e.icon:null}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)("span",{className:(0,O.cn)("text-sm text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",n&&"font-semibold bg-transparent text-foreground"),children:e.title})}),e.external&&(0,r.jsx)(I.A,{className:(0,O.cn)("size-4 shrink-0 text-muted-foreground items-center","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",n&&"bg-transparent text-foreground")})]}):(0,r.jsxs)(u.XO,{href:e.href||"#",locale:e.localeOverride,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,O.cn)((0,v.r)({variant:"ghost"}),"group h-auto w-full justify-start gap-4 p-1 !pl-0 !pr-3","bg-transparent text-muted-foreground cursor-pointer","hover:bg-transparent hover:text-foreground","focus:bg-transparent focus:text-foreground",n&&"font-semibold bg-transparent text-foreground"),onClick:a,children:[(0,r.jsx)("div",{className:(0,O.cn)("flex size-8 shrink-0 items-center justify-center transition-colors ml-0","bg-transparent text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",n&&"bg-transparent text-foreground"),children:e.icon?e.icon:null}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)("span",{className:(0,O.cn)("text-sm text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",n&&"font-semibold bg-transparent text-foreground"),children:e.title})}),e.external&&(0,r.jsx)(I.A,{className:(0,O.cn)("size-4 shrink-0 text-muted-foreground items-center","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",n&&"bg-transparent text-foreground")})]})}
1,e.title)})})})]}):e.localeOverride===m.Xn?(0,r.jsx)("a",{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,O.cn)((0,v.r)({variant:"ghost"}),"w-full !pl-2 justify-start cursor-pointer group","bg-transparent text-muted-foreground","hover:bg-transparent hover:text-foreground","focus:bg-transparent focus:text-foreground",n&&"font-semibold bg-transparent text-foreground"),onClick:a,children:(0,r.jsx)("div",{className:"flex items-center w-full pl-0",children:(0,r.jsx)("span",{className:"text-base",children:e.title})})}):(0,r.jsx)(u.XO,{href:e.href||"#",locale:e.localeOverride,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,O.cn)((0,v.r)({variant:"ghost"}),"w-full !pl-2 justify-start cursor-pointer group","bg-transparent text-muted-foreground","hover:bg-transparent hover:text-foreground","focus:bg-transparent focus:text-foreground",n&&"font-semibold bg-transparent text-foreground"),onClick:a,children:(0,r.jsx)("div",{className:"flex items-center w-full pl-0",children:(0,r.jsx)("span",{className:"text-base",children:e.title})})})},e.title)})}),(0,r.jsxs)("div",{className:"mt-auto w-full space-y-4 border-t border-border/50 p-4",children:[!t&&(0,r.jsx)(n.n,{mode:"modal",asChild:!0,children:(0,r.jsx)(v.$,{className:"w-full cursor-pointer",size:"lg",children:i("Common.login")})}),(0,r.jsxs)("div",{className:"flex w-full items-center justify-between gap-4",children:["/"===c||"/pricing"===c?(0,r.jsx)(p,{}):(0,r.jsx)("div",{}),(0,r.jsx)(h.n,{})]})]})]})})}var Y=a(99021),H=a(53882);function q(e){let{className:t,children:a,viewport:n=!0,...s}=e;return(0,r.jsxs)(H.bL,{"data-slot":"navigation-menu","data-viewport":n,className:(0,O.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",t),...s,children:[a,n&&(0,r.jsx)(K,{})]})}function G(e){let{className:t,...a}=e;return(0,r.jsx)(H.B8,{"data-slot":"navigation-menu-list",className:(0,O.cn)("group flex flex-1 list-none items-center justify-center gap-1",t),...a})}function Z(e){let{className:t,...a}=e;return(0,r.jsx)(H.q7,{"data-slot":"navigation-menu-item",className:(0,O.cn)("relative",t),...a})}let Q=(0,a(11036).F)("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 U(e){let{className:t,children:a,...n}=e;return(0,r.jsxs)(H.l9,{"data-slot":"navigation-menu-trigger",className:(0,O.cn)(Q(),"group",t),...n,children:[a," ",(0,r.jsx)(A.A,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}function J(e){let{className:t,...a}=e;return(0,r.jsx)(H.UC,{"data-slot":"navigation-menu-content",className:(0,O.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/95 group-data-[viewport=false]/navigation-menu:backdrop-blur-md 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-2 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-xl group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow-xl group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",t),...a})}function K(e){let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,O.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,r.jsx)(H.LM,{"data-slot":"navigation-menu-viewport",className:(0,O.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)]",t),...a})})}function ee(e){let{className:t,...a}=e;return(0,r.jsx)(H.N_,{"data-slot":"navigation-menu-link",className:(0,O.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",t),...a})}var et=a(38942),ea=a(66340);function er(){let{showOn:e=["/"],forceShow:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=(0,u.tx)(),n=(0,u.iN)(),s=(0,x.Ym)(),{currentLocale:o,setCurrentLocale:i}=(0,f.D)(),[,l]=(0,g.useTransition)(),d=(0,k.c3)("Common"),p=Object.keys(c.u.i18n.locales).length>1,h=(e=>{let t=new RegExp("^/(?:".concat(m.YZ.join("|"),")(?=/|$)")),a=e.replace(t,"");return 0===a.length?"/":a})(n);(0,g.useEffect)(()=>{i(s)},[s,i]);let b=e=>{i(e),l(()=>{a.replace(h,{locale:e})})};return p&&(t||e.some(e=>"string"==typeof e?h===e:e.test(h)))?(0,r.jsxs)(et.rI,{children:[(0,r.jsx)(et.ty,{asChild:!0,children:(0,r.jsxs)(v.$,{variant:"ghost",size:"sm",className:"size-8 p-0.5 border border-border rounded-full cursor-pointer",children:[(0,r.jsx)(ea.A,{className:"size-3"}),(0,r.jsx)("span",{className:"sr-only",children:d("language")})]})}),(0,r.jsx)(et.SQ,{align:"end",children:Object.entries(c.u.i18n.locales).map(e=>{let[t,a]=e;return(0,r.jsxs)(et._2,{onClick:()=>b(t),className:"cursor-pointer",children:[a.flag&&(0,r.jsx)("span",{className:"mr-2 text-md",children:a.flag}),(0,r.jsx)("span",{className:"text-sm",children:a.name})]},t)})})]}):null}let en=(0,O.cn)(Q(),"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-foreground","data-[state=open]:bg-transparent data-[state=open]:text-foreground");function es(e){let{scroll:t}=e,a=(0,k.c3)(),d=function(e){let[t,a]=(0,g.useState)(!1),r=(0,g.useCallback)(()=>{a(window.pageYOffset>50)},[50]);return(0,g.useEffect)(()=>(window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)),[r]),t}(50),c=C(),f=(0,u.iN)(),[x,p]=(0,g.useState)(!1),{data:h,isPending:b}=_.y.useSession(),j=null==h?void 0:h.user;return(0,g.useEffect)(()=>{p(!0)},[]),(0,r.jsx)("section",{className:(0,O.cn)("sticky inset-x-0 top-0 z-40 py-4 transition-all duration-300",t?d?"bg-background/80 backdrop-blur-md border-b supports-backdrop-filter:bg-background/60":"bg-transparent":"border-b bg-background"),children:(0,r.jsxs)(s.A,{className:"px-4",children:[(0,r.jsxs)("nav",{className:"hidden lg:flex",children:[(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)(u.XO,{href:"/",className:"flex items-center space-x-2",children:[(0,r.jsx)(i.Logo,{}),(0,r.jsx)("span",{className:"text-xl font-semibold",children:a("Metadata.name")})]})}),(0,r.jsx)("div",{className:"flex-1 flex items-center justify-start space-x-2 ml-8",children:(0,r.jsx)(q,{className:"relative",children:(0,r.jsx)(G,{className:"flex items-center",children:null==c?void 0:c.map((e,t)=>{var a;return e.items?(0,r.jsxs)(Z,{className:"relative",children:[(0,r.jsx)(U,{"data-active":e.items.some(e=>!!e.href&&f.startsWith(e.href))?"true":void 0,className:en,children:e.title}),(0,r.jsx)(J,{children:(0,r.jsx)("ul",{className:"grid w-[400px] gap-2 p-6 md:w-[500px] md:grid-cols-2 lg:w-[600px] max-h-[80vh] overflow-y-auto",children:null===(a=e.items)||void 0===a?void 0:a.map((e,t)=>{let a=e.href&&f.startsWith(e.href);return e.isGroupHeader?(0,r.jsx)("li",{className:"col-span-2",children:(0,r.jsx)("div",{className:(0,O.cn)("px-3 py-2 text-xs font-semibold text-muted-foreground uppercase tracking-wider",t>0&&"mt-3 pt-3 border-t"),children:e.title})},t):(0,r.jsx)("li",{children:(0,r.jsx)(ee,{asChild:!0,children:e.localeOverride===m.Xn?(0,r.jsxs)("a",{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,O.cn)("group flex select-none flex-row items-start gap-3 rounded-lg","p-3 leading-none no-underline outline-hidden transition-all duration-200","hover:bg-accent/50 hover:shadow-sm hover:scale-[1.02]","focus:bg-accent/50 focus:shadow-sm",a&&"bg-accent/60 shadow-sm"),children:[(0,r.jsx)("div",{className:(0,O.cn)("flex size-10 shrink-0 items-center justify-center rounded-md transition-all duration-200","bg-muted/50 text-muted-foreground","group-hover:bg-primary/10 group-hover:text-primary","group-focus:bg-primary/10 group-focus:text-primary",a&&"bg-primary/15 text-primary"),children:e.icon?e.icon:null}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("div",{className:(0,O.cn)("text-sm font-semibold tracking-tight text-foreground transition-colors duration-200","group-hover:text-primary","group-focus:text-primary",a&&"text-primary"),children:(0,r.jsxs)("span",{className:"flex items-center gap-2",children:[e.title,e.badge&&(0,r.jsx)("span",{className:(0,O.cn)("px-1.5 py-0.5 text-[10px] font-semibold rounded-full shadow-sm","hot"===e.badge.variant&&"bg-gradient-to-r from-orange-500 to-red-500 text-white animate-pulse","new"===e.badge.variant&&"bg-emerald-500 text-white","pro"===e.badge.variant&&"bg-gradient-to-r from-purple-500 to-blue-500 text-white",(!e.badge.variant||"default"===e.badge.variant)&&"bg-primary/10 text-primary"),children:e.badge.text})]})}),e.description&&(0,r.jsx)("div",{className:(0,O.cn)("text-xs leading-relaxed text-muted-foreground mt-0.5 transition-colors duration-200","group-hover:text-muted-foreground","group-focus:text-muted-foreground",a&&"text-muted-foreground"),children:e.description})]}),e.external&&(0,r.jsx)(I.A,{className:(0,O.cn)("size-4 shrink-0 text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",a&&"bg-transparent text-foreground")})]}):(0,r.jsxs)(u.XO,{href:e.href||"#",locale:e.localeOverride,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:(0,O.cn)("group flex select-none flex-row items-start gap-3 rounded-lg","p-3 leading-none no-underline outline-hidden transition-all duration-200","hover:bg-accent/50 hover:shadow-sm hover:scale-[1.02]","focus:bg-accent/50 focus:shadow-sm",a&&"bg-accent/60 shadow-sm"),children:[(0,r.jsx)("div",{className:(0,O.cn)("flex size-10 shrink-0 items-center justify-center rounded-md transition-all duration-200","bg-muted/50 text-muted-foreground","group-hover:bg-primary/10 group-hover:text-primary","group-focus:bg-primary/10 group-focus:text-primary",a&&"bg-primary/15 text-primary"),children:e.icon?e.icon:null}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("div",{className:(0,O.cn)("text-sm font-semibold tracking-tight text-foreground transition-colors duration-200","group-hover:text-primary","group-focus:text-primary",a&&"text-primary"),children:(0,r.jsxs)("span",{className:"flex items-center gap-2",children:[e.title,e.badge&&(0,r.jsx)("span",{className:(0,O.cn)("px-1.5 py-0.5 text-[10px] font-semibold rounded-full shadow-sm","hot"===e.badge.variant&&"bg-gradient-to-r from-orange-500 to-red-500 text-white animate-pulse","new"===e.badge.variant&&"bg-emerald-500 text-white","pro"===e.badge.variant&&"bg-gradient-to-r from-purple-500 to-blue-500 text-white",(!e.badge.variant||"default"===e.badge.variant)&&"bg-primary/10 text-primary"),children:e.badge.text})]})}),e.description&&(0,r.jsx)("div",{className:(0,O.cn)("text-xs leading-relaxed text-muted-foreground mt-0.5 transition-colors duration-200","group-hover:text-muted-foreground","group-focus:text-muted-foreground",a&&"text-muted-foreground"),children:e.description})]}),e.external&&(0,r.jsx)(I.A,{className:(0,O.cn)("size-4 shrink-0 text-muted-foreground","group-hover:bg-transparent group-hover:text-foreground","group-focus:bg-transparent group-focus:text-foreground",a&&"bg-transparent text-foreground")})]})})},t)})})})]},t):(0,r.jsx)(Z,{children:(0,r.jsx)(ee,{asChild:!0,active:!!e.href&&("/"===e.href?"/"===f:f.startsWith(e.href)),className:en,children:e.localeOverride===m.Xn?(0,r.jsx)("a",{href:e.href||"#",target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,children:e.title}):(0,r.jsx)(u.XO,{href:e.href||"#",locale:e.localeOverride,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,children:e.title})})},t)})})})}),(0,r.jsxs)("div",{className:"flex items-center gap-x-4",children:[!x||b?(0,r.jsx)(P.E,{className:"size-8 border rounded-full"}):j?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.CreditsBalanceButton,{}),(0,r.jsx)(Y.u,{user:j})]}):(0,r.jsx)(n.n,{mode:"modal",asChild:!0,children:(0,r.jsx)(v.$,{variant:"outline",size:"sm",className:"cursor-pointer",children:a("Common.login")})}),(0,r.jsx)(l.ModeSwitcher,{}),(0,r.jsx)(er,{showOn:["/","/pricing"]})]})]}),(0,r.jsx)(R,{className:"lg:hidden"})]})})}},53651:(e,t,a)=>{"use strict";a.d(t,{PageViewTracker:()=>s});var r=a(32551),n=a(65133);function s(){let e=(0,r.usePathname)(),t=(0,n.useRef)(null);return(0,n.useEffect)(()=>
1{if(t.current===e)return;t.current=e;let a=document.title,r=window.location.href;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"page_view",page_title:a,page_location:r,page_path:e})},[e]),null}},64494:(e,t,a)=>{"use strict";a.d(t,{BE:()=>m,I6:()=>g,QP:()=>c,Uz:()=>i,_s:()=>o,cp:()=>d,gk:()=>x,tb:()=>f,uT:()=>l,zj:()=>u});var r=a(51129);a(65133);var n=a(11445),s=a(55730);function o(e){let{...t}=e;return(0,r.jsx)(n._s.Root,{"data-slot":"drawer",...t})}function i(e){let{...t}=e;return(0,r.jsx)(n._s.Trigger,{"data-slot":"drawer-trigger",...t})}function l(e){let{...t}=e;return(0,r.jsx)(n._s.Portal,{"data-slot":"drawer-portal",...t})}function d(e){let{...t}=e;return(0,r.jsx)(n._s.Close,{"data-slot":"drawer-close",...t})}function c(e){let{className:t,...a}=e;return(0,r.jsx)(n._s.Overlay,{"data-slot":"drawer-overlay",className:(0,s.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function u(e){let{className:t,children:a,...o}=e;return(0,r.jsxs)(l,{"data-slot":"drawer-portal",children:[(0,r.jsx)(c,{}),(0,r.jsxs)(n._s.Content,{"data-slot":"drawer-content",className:(0,s.cn)("group/drawer-content bg-background fixed z-50 flex h-auto flex-col","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",t),...o,children:[(0,r.jsx)("div",{className:"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),a]})]})}function m(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"drawer-header",className:(0,s.cn)("flex flex-col gap-1.5 p-4",t),...a})}function f(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"drawer-footer",className:(0,s.cn)("mt-auto flex flex-col gap-2 p-4",t),...a})}function x(e){let{className:t,...a}=e;return(0,r.jsx)(n._s.Title,{"data-slot":"drawer-title",className:(0,s.cn)("text-foreground font-semibold",t),...a})}function g(e){let{className:t,...a}=e;return(0,r.jsx)(n._s.Description,{"data-slot":"drawer-description",className:(0,s.cn)("text-muted-foreground text-sm",t),...a})}},76875:(e,t,a)=>{"use strict";a.d(t,{default:()=>n});var r=a(65133);function n(){return(0,r.useEffect)(()=>{let e=navigator.connection;if((null==e?void 0:e.saveData)||null!=e&&e.effectiveType&&["slow-2g","2g"].includes(e.effectiveType))return;let t=()=>{if(!window.__lazyAnalyticsFired){window.__lazyAnalyticsFired=!0,window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"lazy_analytics"});try{window.dispatchEvent(new CustomEvent("lazy_analytics"))}catch(e){}}},a=!1,r=window.setTimeout(()=>{a=!0,t(),o()},2e3),n=()=>{a&&(t(),o())},s=[["scroll",n],["mousemove",n],["mousedown",n],["keydown",n],["touchstart",n]];s.forEach(e=>{let[t,a]=e;window.addEventListener(t,a,{once:!0,passive:!0})});let o=()=>{clearTimeout(r),s.forEach(e=>{let[t,a]=e;window.removeEventListener(t,a)})};return o},[]),null}},78887:(e,t,a)=>{Promise.resolve().then(a.bind(a,76875)),Promise.resolve().then(a.bind(a,53651)),Promise.resolve().then(a.bind(a,29233)),Promise.resolve().then(a.bind(a,39347)),Promise.resolve().then(a.bind(a,41842))},82572:(e,t,a)=>{"use strict";function r(){let e="WELCOME50";return!e||function(e){if(!e)return!0;let t="string"==typeof e?new Date(e):e;return new Date>t}("2025-08-28")?null:e}function n(e){return!!e.autoApplyPromoCode&&!!e.enableLimitedOffer&&null!==r()}function s(){return parseInt("50",10)}a.d(t,{_9:()=>n,h6:()=>r,hC:()=>s})}},e=>{var t=t=>e(e.s=t);e.O(0,[9522,2181,4842,7298,8526,9497,9945,676,8838,4699,9339,1341,7413,7218,6287,1445,2637,6085,7557,4914,5595,5907,6759,7114,3245,4749,1170,7358],()=>t(78887)),_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.