1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2109],{19474:(e,t,s)=>{s.d(t,{Cf:()=>u,Es:()=>h,L3:()=>m,c7:()=>g,lG:()=>i,rr:()=>x,zM:()=>l});var a=s(31901);s(86697);var n=s(28821),o=s(81678),r=s(35765);function i(e){let{...t}=e;return(0,a.jsx)(n.bL,{"data-slot":"dialog",...t})}function l(e){let{...t}=e;return(0,a.jsx)(n.l9,{"data-slot":"dialog-trigger",...t})}function c(e){let{...t}=e;return(0,a.jsx)(n.ZL,{"data-slot":"dialog-portal",...t})}function d(e){let{className:t,...s}=e;return(0,a.jsx)(n.hJ,{"data-slot":"dialog-overlay",className:(0,r.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),...s})}function u(e){let{className:t,children:s,hideClose:i,...l}=e;return(0,a.jsxs)(c,{"data-slot":"dialog-portal",children:[(0,a.jsx)(d,{}),(0,a.jsxs)(n.UC,{"data-slot":"dialog-content",className:(0,r.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...l,children:[s,i?null:(0,a.jsxs)(n.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,a.jsx)(o.A,{}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function g(e){let{className:t,...s}=e;return(0,a.jsx)("div",{"data-slot":"dialog-header",className:(0,r.cn)("flex flex-col gap-2 text-center sm:text-left",t),...s})}function h(e){let{className:t,...s}=e;return(0,a.jsx)("div",{"data-slot":"dialog-footer",className:(0,r.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...s})}function m(e){let{className:t,...s}=e;return(0,a.jsx)(n.hE,{"data-slot":"dialog-title",className:(0,r.cn)("text-lg leading-none font-semibold",t),...s})}function x(e){let{className:t,...s}=e;return(0,a.jsx)(n.VY,{"data-slot":"dialog-description",className:(0,r.cn)("text-muted-foreground text-sm",t),...s})}},20518:(e,t,s)=>{s.d(t,{$:()=>l,r:()=>i});var a=s(31901);s(86697);var n=s(29504),o=s(77623),r=s(35765);let i=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/95",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:s,size:o,asChild:l=!1,...c}=e,d=l?n.DX:"button";return(0,a.jsx)(d,{"data-slot":"button",className:(0,r.cn)(i({variant:s,size:o,className:t})),...c})}},25778:(e,t,s)=>{s.d(t,{BV:()=>o,l4:()=>r});var a,n=s(43146),o=function(e){return e.Root="/",e.FAQ="/#faq",e.Features="/#features",e.Pricing="/pricing",e.KlingAIBabyDance="/kling-ai-baby-dance",e.ImageEditor="/image-editor",e.AIDanceVideo="/ai-dance-video-generator",e.CosmicPrincessKaguyaImage="/cosmic-princess-kaguya-ai-filter",e.CosmicPrincessKaguyaDance="/cosmic-princess-kaguya-dance",e.Blog="/blog",e.About="/about",e.Contact="/contact",e.Roadmap="https://mksaas.link/roadmap",e.PrivacyPolicy="/privacy",e.TermsOfService="/terms",e.Login="/auth/login",e.Register="/auth/register",e.AuthError="/auth/error",e.ForgotPassword="/auth/forgot-password",e.ResetPassword="/auth/reset-password",e.Dashboard="/dashboard",e.MyCreations="/my-creations",e.AdminUsers="/admin/users",e.SettingsProfile="/settings/profile",e.SettingsBilling="/settings/billing",e.SettingsCredits="/settings/credits",e.SettingsSecurity="/settings/security",e.SettingsNotifications="/settings/notifications",e.AIText="/",e.AIImage="/#hero-image-generator",e.AIChat="/",e.AIVideo="/",e.AIAudio="/",e.NanoBananaPro="/",e.HeroBlocks="/blocks/hero-section",e.LogoCloudBlocks="/blocks/logo-cloud",e.FeaturesBlocks="/blocks/features",e.IntegrationsBlocks="/blocks/integrations",e.ContentBlocks="/blocks/content",e.StatsBlocks="/blocks/stats",e.TeamBlocks="/blocks/team",e.TestimonialsBlocks="/blocks/testimonials",e.CallToActionBlocks="/blocks/call-to-action",e.FooterBlocks="/blocks/footer",e.PricingBlocks="/blocks/pricing",e.ComparatorBlocks="/blocks/comparator",e.FAQBlocks="/blocks/faqs",e.LoginBlocks="/blocks/login",e.SignupBlocks="/blocks/sign-up",e.ForgotPasswordBlocks="/blocks/forgot-password",e.ContactBlocks="/blocks/contact",e}({});let r=null!=(a=n.u.routes.defaultLoginRedirect)?a:"/dashboard"},35765:(e,t,s)=>{s.d(t,{cn:()=>o});var a=s(66799),n=s(99815);function o(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,n.QP)((0,a.$)(t))}},88445:(e,t,s)=>{s.d(t,{N:()=>n});var a=s(31901);function n(e){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:45.75,height:48,viewBox:"0 0 488 512",...e,children:[(0,a.jsx)("title",{children:"Google"}),(0,a.jsx)("path",{fill:"currentColor",d:"M488 261.8C488 403.3 391.1 504 248 504C110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6c98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4"})]})}s(86697)},92109:(e,t,s)=>{s.d(t,{G:()=>b,o:()=>k});var a=s(31901),n=s(88445),o=s(20518),r=s(19474),i=s(43146),l=s(38090),c=s(25778),d=s(62510),u=s(2212),g=s(72144),h=s(5421),m=s.n(h),x=s(86697);let f=(0,x.createContext)(void 0),p=[/\/auth\/login$/,/\/auth\/register$/,/\/[a-zA-Z-]+\/auth\/login$/,/\/[a-zA-Z-]+\/auth\/register$/];function b(){let e=(0,x.useContext)(f);if(!e)throw Error("useLoginModal must be used within LoginModalProvider");return e}function v(){let e=(0,g.c3)("AuthPage.loginModal"),[t,s]=(0,x.useState)(!1),[r,h]=(0,x.useState)(null);(0,x.useEffect)(()=>{try{let e=window.sessionStorage.getItem("auth_next_path");if(!e||!e.startsWith("/")||e.startsWith("//")||e.includes("://")||e.startsWith("/api/")||e.startsWith("/_next/"))return;h(e)}finally{try{window.sessionStorage.removeItem("auth_next_path")}catch(e){}}},[]);let f=null!=r?r:c.l4,p=async()=>
1{s(!0),await l.y.signIn.social({provider:"google",callbackURL:f,errorCallbackURL:c.BV.AuthError},{onResponse:()=>s(!1),onError:()=>s(!1)})},b=e=>(0,a.jsx)("span",{className:"font-semibold text-primary",children:e});return(0,a.jsxs)("div",{className:"grid min-h-[520px] grid-cols-1 gap-0 md:grid-cols-[1.05fr_0.95fr]",children:[(0,a.jsxs)("div",{className:"relative hidden overflow-hidden md:block",children:[(0,a.jsx)("img",{className:"absolute inset-0 h-full w-full object-cover",src:"/hero/reference-to-video-poster.webp",alt:e("previewAlt")}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-background/15 via-background/45 to-background/85"}),(0,a.jsxs)("div",{className:"absolute inset-x-0 bottom-0 p-8 text-foreground",children:[(0,a.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.28em] text-primary/80",children:e("eyebrow")}),(0,a.jsx)("h3",{className:"mt-3 max-w-sm text-3xl font-semibold leading-tight",children:e("panelTitle")}),(0,a.jsx)("p",{className:"mt-3 max-w-sm text-sm leading-6 text-foreground/75",children:e("panelDescription")})]})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-center space-y-6 p-8 md:p-10",children:[(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("p",{className:"text-sm font-medium text-primary",children:e("welcome")}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h2",{className:"text-3xl font-bold tracking-tight text-foreground",children:e("title")}),(0,a.jsx)("p",{className:"text-sm leading-6 text-muted-foreground",children:e("subtitle")})]})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,a.jsx)(d.A,{className:"h-4 w-4 text-green-500"}),(0,a.jsx)("span",{children:e.rich("benefit1",{highlight:b})})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,a.jsx)(d.A,{className:"h-4 w-4 text-green-500"}),(0,a.jsx)("span",{children:e.rich("benefit2",{highlight:b})})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,a.jsx)(d.A,{className:"h-4 w-4 text-green-500"}),(0,a.jsx)("span",{children:e.rich("benefit3",{highlight:b})})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,a.jsx)(d.A,{className:"h-4 w-4 text-green-500"}),(0,a.jsx)("span",{children:e.rich("benefit4",{highlight:b})})]})]}),i.u.auth.enableGoogleLogin&&(0,a.jsxs)(o.$,{size:"lg",className:"w-full",onClick:p,disabled:t,children:[t?(0,a.jsx)(u.A,{className:"mr-2 h-4 w-4 animate-spin"}):(0,a.jsx)(n.N,{className:"mr-2 h-4 w-4"}),e("continueWithGoogle")]}),(0,a.jsxs)("p",{className:"text-xs text-center text-muted-foreground",children:[e("terms")," ",(0,a.jsx)(m(),{href:"/terms",className:"underline hover:text-foreground",children:e("termsLink")})," ",e("and")," ",(0,a.jsx)(m(),{href:"/privacy",className:"underline hover:text-foreground",children:e("privacyLink")})]})]})]})}function k(e){let{children:t}=e,[s,n]=(0,x.useState)(!1),o=(0,x.useCallback)(()=>{{let e="".concat(window.location.pathname).concat(window.location.search).concat(window.location.hash);if(e&&function(e){var t;let[s]=e.split("?"),a=null!=(t=null==s?void 0:s.split("#")[0])?t:e;return!(!a.startsWith("/")||e.startsWith("//")||e.includes("://")||e.startsWith("/api/")||e.startsWith("/_next/")||p.some(e=>e.test(a)))}(e))try{window.sessionStorage.setItem("auth_next_path",e)}catch(e){}}n(!0)},[]),i=(0,x.useCallback)(()=>n(!1),[]);return(0,a.jsxs)(f.Provider,{value:{isOpen:s,openLoginModal:o,closeLoginModal:i},children:[t,(0,a.jsx)(r.lG,{open:s,onOpenChange:n,children:(0,a.jsxs)(r.Cf,{className:"max-w-4xl sm:max-w-4xl p-0 overflow-hidden",children:[(0,a.jsx)(r.L3,{className:"sr-only",children:"Sign In"}),(0,a.jsx)(r.rr,{className:"sr-only",children:"Sign in to your account"}),(0,a.jsx)(v,{})]})})]})}}}]);
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.