PageSourceSearch

https://caku.ai/_next/static/chunks/6ab260b2d01804ec.js?dpl=dpl_9c4TZLTFVKJqejR7gXnLfP8VJm5A

js caku.ai collected 2026-10-05 14:00:53 UTC 12,578 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,283059,e=>{"use strict";let a=(0,e.i(837507).default)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);e.s(["Video",()=>a],283059)},744705,e=>{"use strict";var a=e.i(235225),t=e.i(859706),r=e.i(352889),s=t["use".trim()],l=e.i(254451),i=e.i(677598),n=e.i(873271),o=e.i(472423),c=e.i(741895);let{Link:h,redirect:d,usePathname:m,useRouter:x}=function(e){let{Link:h,config:d,getPathname:m,...x}=function(e,r){var c,h,d;let m={...c=r||{},localePrefix:"object"==typeof(d=c.localePrefix)?d:{mode:d||"always"},localeCookie:!!((h=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof h&&h},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},x=m.pathnames,u=(0,t.forwardRef)(function({href:a,locale:t,...r},n){let c,h;"object"==typeof a?(c=a.pathname,h=a.params):c=a;let d=(0,l.isLocalizableHref)(a),u=e(),f=(0,l.isPromise)(u)?s(u):u,g=d?p({locale:t||f,href:null==x?c:{pathname:c,params:h},forcePrefix:null!=t||void 0}):c;return(0,o.jsx)(i.default,{ref:n,href:"object"==typeof a?{...a,pathname:g}:g,locale:t,localeCookie:m.localeCookie,...r})});function p(e){let a,{forcePrefix:t,href:r,locale:s}=e;return null==x?"object"==typeof r?(a=r.pathname,r.query&&(a+=(0,n.serializeSearchParams)(r.query))):a=r:a=(0,n.compileLocalizedPathname)({locale:s,...(0,n.normalizeNameOrNameWithParams)(r),pathnames:m.pathnames}),(0,n.applyPathnamePrefix)(a,s,m,t)}function f(e){return function(a,...t){return e(p(a),...t)}}return{config:m,Link:u,redirect:f(a.redirect),permanentRedirect:f(a.permanentRedirect),getPathname:p}}(r.useLocale,e);return{...x,Link:h,usePathname:function(){let e,s,i=(e=(0,a.usePathname)(),s=(0,r.useLocale)(),(0,t.useMemo)(()=>{if(!e)return e;let a=e,t=(0,l.getLocalePrefix)(s,d.localePrefix);if((0,l.hasPathnamePrefixed)(t,e))a=(0,l.unprefixPathname)(e,t);else if("never"!==d.localePrefix.mode&&d.localePrefix.prefixes){let t=(0,l.getLocaleAsPrefix)(s);(0,l.hasPathnamePrefixed)(t,e)&&(a=(0,l.unprefixPathname)(e,t))}return a},[d.localePrefix,s,e])),o=(0,r.useLocale)();return(0,t.useMemo)(()=>i&&d.pathnames?(0,n.getRoute)(o,i,d.pathnames):i,[o,i])},useRouter:function(){let e=(0,a.useRouter)(),s=(0,r.useLocale)(),l=(0,a.usePathname)();return(0,t.useMemo)(()=>{function a(e){return function(a,t){let{locale:r,...i}=t||{},n=[m({href:a,locale:r||s,forcePrefix:null!=r||void 0})];Object.keys(i).length>0&&n.push(i),(0,c.default)(d.localeCookie,l,s,r),e(...n)}}return{...e,push:a(e.push),replace:a(e.replace),prefetch:a(e.prefetch)}},[s,l,e])},getPathname:m}}({locales:["en","ko","zh"],defaultLocale:"en",localePrefix:"as-needed"});e.s(["Link",0,h,"usePathname",0,m],744705)},747518,e=>{"use strict";let a=(0,e.i(837507).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["ChevronUp",()=>a],747518)},355130,e=>{"use strict";let a=(0,e.i(837507).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>a],355130)},142103,e=>{"use strict";var a=e.i(859706),t=e.i(346899),r=e.i(472423),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=a.forwardRef((e,a)=>(0,r.jsx)(t.Primitive.span,{...e,ref:a,style:{...s,...e.style}}));l.displayName="VisuallyHidden",e.s(["Root",()=>l,"VISUALLY_HIDDEN_STYLES",()=>s])},192550,e=>{"use strict";var a,t,r=((a={})[a.PENDING=0]="PENDING",a[a.SUCCESS=1]="SUCCESS",a[a.FAILED=2]="FAILED",a);let s={Generate:"generate",Upscale:"upscale",TextToImage:"text-to-image"},l={[s.Generate]:2,[s.Upscale]:1,[s.TextToImage]:1};var i=((t={}).NANO_BANANA="nano-banana",t.NANO_BANANA_2="nano-banana-2",t.NANO_BANANA_PRO="nano-banana-pro",t.SEEDREAM="seedream",t.SEEDREAM_4="seedream-4",t.SEEDREAM_4_5="seedream-4.5",t.SEEDREAM_5_0="seedream-5.0",t.GPT_IMAGE_2="gpt-image-2",t.GPT_IMAGE_2_5_FLARE="gpt-image-2.5-flare",t.GPT_IMAGE_2_5_SUNBURST="gpt-image-2.5-sunburst",t);e.s(["BIZ_TYPE",0,"caku","FREE_CREDITS_FOR_NEW_USERS",0,2,"GPT_IMAGE_2_1K_CREDITS",0,1,"GPT_IMAGE_2_2K_CREDITS",0,2,"GPT_IMAGE_2_4K_CREDITS",0,3,"GPT_IMAGE_2_5_1K_CREDITS",0,3,"GPT_IMAGE_2_5_2K_CREDITS",0,4,"GPT_IMAGE_2_5_4K_CREDITS",0,7,"ImageEditModel",()=>i,"NANO_BANANA_2_1K_CREDITS",0,3,"NANO_BANANA_2_2K_CREDITS",0,5,"NANO_BANANA_2_4K_CREDITS",0,7,"NANO_BANANA_CREDITS",0,2,"NANO_BANANA_PRO_1K_2K_CREDITS",0,6,"NANO_BANANA_PRO_4K_CREDITS",0,10,"SEEDREAM_CREDITS",0,4,"TASK_COST_MAP",0,l,"TaskStatus",()=>r,"TaskType",0,s,"brandName",0,"Caku AI"])},997714,e=>{"use strict";
1let a=(0,e.i(837507).default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);e.s(["CreditCard",()=>a],997714)},588571,e=>{"use strict";let a=(0,e.i(837507).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",()=>a],588571)},604746,e=>{"use strict";let a=(0,e.i(837507).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>a],604746)},640391,e=>{"use strict";let a=(0,e.i(837507).default)("images",[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]);e.s(["Images",()=>a],640391)},383367,e=>{"use strict";let a=(0,e.i(837507).default)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);e.s(["DollarSign",()=>a],383367)},208499,e=>{"use strict";var a=e.i(472423),t=e.i(744705),r=e.i(267730),s=e.i(154579),l=e.i(640391),i=e.i(997714),n=e.i(283059);let o=(0,e.i(837507).default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);var c=e.i(383367),h=e.i(235225),d=e.i(833277),m=e.i(578938),x=e.i(755146),u=e.i(799676),p=e.i(192550),f=e.i(514204);let g=[{href:"/ai-studio",icon:n.Video,label:"Studio"},{href:"/text-to-video",icon:o,label:"Legacy"},{href:"/gallery",icon:l.Images,label:"Gallery"},{href:"/pricing",icon:c.DollarSign,label:"Pricing"}];function N(){let e=(0,t.usePathname)(),{user:n,loading:o,fetchUserInfo:c}=(0,d.useUser)(),N=(0,h.useRouter)(),j=async()=>{try{await m.authClient.signOut(),await c(),N.push("/")}catch(e){console.error("Sign out error:",e)}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("aside",{className:"hidden md:flex fixed left-0 top-0 bottom-0 w-[72px] bg-black flex-col items-center z-50",children:[(0,a.jsx)("div",{className:"h-14 flex items-center justify-center shrink-0",children:(0,a.jsx)(t.Link,{href:"/",children:(0,a.jsx)("img",{src:"/logo.png",alt:p.brandName,width:28,height:28,className:"h-7 w-7"})})}),(0,a.jsx)("nav",{className:"flex-1 flex flex-col items-center justify-center gap-2",children:g.map(r=>{let s=e===r.href;return(0,a.jsxs)(t.Link,{href:r.href,className:`flex flex-col items-center gap-1 py-2 px-2 rounded-xl transition-colors w-14 ${s?"text-teal-400":"text-white/30 hover:text-white/60"}`,children:[(0,a.jsx)(r.icon,{className:"h-5 w-5"}),(0,a.jsx)("span",{className:"text-[10px] font-medium",children:r.label})]},r.href)})}),(0,a.jsxs)("div",{className:"pb-4 flex flex-col items-center gap-3 shrink-0",children:[n&&(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)(s.Coins,{className:"h-4 w-4 text-teal-400"}),(0,a.jsx)("span",{className:"text-[10px] text-teal-400 font-semibold mt-0.5",children:n.totalCredits||0})]}),o?(0,a.jsx)("div",{className:"h-8 w-8 rounded-full bg-white/5 animate-pulse"}):n?(0,a.jsxs)(x.DropdownMenu,{children:[(0,a.jsx)(x.DropdownMenuTrigger,{asChild:!0,children:(0,a.jsx)("button",{className:"rounded-full hover:ring-2 hover:ring-white/10 transition-all",children:(0,a.jsxs)(u.Avatar,{className:"h-8 w-8",children:[(0,a.jsx)(u.AvatarImage,{src:n.avatar,alt:n.name}),(0,a.jsx)(u.AvatarFallback,{className:"bg-teal-500 text-white text-xs font-semibold",children:n.name?.charAt(0)?.toUpperCase()||n.email?.charAt(0)?.toUpperCase()})]})})}),(0,a.jsxs)(x.DropdownMenuContent,{side:"right",align:"end",className:"w-48",children:[(0,a.jsxs)("div",{className:"px-2 py-1.5",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:n.name||"User"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:n.email})]}),(0,a.jsx)(x.DropdownMenuSeparator,{}),(0,a.jsx)(t.Link,{href:"/gallery",children:(0,a.jsxs)(x.DropdownMenuItem,{className:"cursor-pointer",children:[(0,a.jsx)(l.Images,{className:"mr-2 h-4 w-4"}),"Gallery"]})}),(0,a.jsx)(t.Link,{href:n.hasAccess?"/billing":"/pricing",children:(0,a.jsxs)(x.DropdownMenuItem,{className:"cursor-pointer",children:[(0,a.jsx)(i.CreditCard,{className:"mr-2 h-4 w-4"}),"Billing"]})}),(0,a.jsx)(x.DropdownMenuSeparator,{}),(0,a.jsxs)(x.DropdownMenuItem,{className:"cursor-pointer text-red-400",onClick:j,children:[(0,a.jsx)(r.LogOut,{className:"mr-2 h-4 w-4"}),"Sign Out"]})]})]}):(0,a.jsx)(t.Link,{href:`/login?from=${encodeURIComponent(e)}`,children:(0,a.jsx)(u.Avatar,{className:"h-8 w-8 cursor-pointer hover:ring-2 hover:ring-white/10 transition-all",children:(0,a.jsx)(u.AvatarFallback,{className:"bg-white/10 text-white/40 text-xs",children:"?"})})}),(0,a.jsx)("div",{className:"[&_button]:p-0 [&_button]:h-auto [&_button]:w-auto [&_svg]:hidden",children:(0,a.jsx)(f.LanguageSelector,{})})]})]}),(0,a.jsxs)("header",{className:"md:hidden fixed top-0 left-0 right-0 h-12 bg-black/90 backdrop-blur-lg border-b border-white/5 flex items-center justify-between px-3 z-50",children:[(0,a.jsx)(t.Link,{href:"/",children:(0,a.jsx)("img",{src:"/logo.png",alt:p.brandName,width:24,height:24,className:"h-6 w-6"})}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[n&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(s.Coins,{className:"h-3.5 w-3.5 text-teal-400"}),(0,a.jsx)("span",{className:"text-[11px] text-teal-400 font-semibold",children:n.totalCredits||0})]}),o?(0,a.jsx)("div",{className:"h-7 w-7 rounded-full bg-white/5 animate-pulse"}):n?(0,a.jsxs)(x.DropdownMenu,{children:[(0,a.jsx)(x.DropdownMenuTrigger,{asChild:!0,children:(0,a.jsx)("button",{className:"rounded-full",children:(0,a.jsxs)(u.Avatar,{className:"h-7 w-7",children:[(0,a.jsx)(u.AvatarImage,{src:n.avatar,alt:n.name}),(0,a.jsx)(u.AvatarFallback,{className:"bg-teal-500 text-white text-[10px] font-semibold",children:n.name?.charAt(0)?.toUpperCase()||n.email?.charAt(0)?.toUpperCase()})]})})}),(0,a.jsxs)(x.DropdownMenuContent,{side:"bottom",align:"end",className:"w-48",children:[(0,a.jsxs)("div",{className:"px-2 py-1.5",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:n.name||"User"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:n.email})]}),(0,a.jsx)(x.DropdownMenuSeparator,{}),(0,a.jsx)(t.Link,{href:"/gallery",children:(0,a.jsxs)(x.DropdownMenuItem,{className:"cursor-pointer",children:[(0,a.jsx)(l.Images,{className:"mr-2 h-4 w-4"}),"Gallery"]})}),(0,a.jsx)(t.Link,{href:n.hasAccess?"/billing":"/pricing",children:(0,a.jsxs)(x.DropdownMenuItem,{className:"cursor-pointer",children:[(0,a.jsx)(i.CreditCard,{className:"mr-2 h-4 w-4"}),"Billing"]})}),(0,a.jsx)(x.DropdownMenuSeparator,{}),(0,a.jsxs)(x.DropdownMenuItem,{className:"cursor-pointer text-red-400",onClick:j,children:[(0,a.jsx)(r.LogOut,{className:"mr-2 h-4 w-4"}),"Sign Out"]})]})]}):(0,a.jsx)(t.Link,{href:`/login?from=${encodeURIComponent(e)}`,children:(0,a.jsx)(u.Avatar,{className:"h-7 w-7 cursor-pointer",children:(0,a.jsx)(u.AvatarFallback,{className:"bg-white/10 text-white/40 text-[10px]",children:"?"})})})]})]}),(0,a.jsx)("nav",{className:"md:hidden fixed bottom-0 left-0 right-0 bg-black/90 backdrop-blur-lg border-t border-white/5 z-50 pb-[env(safe-area-inset-bottom)]",children:(0,a.jsx)("div",{className:"flex items-center justify-around h-14",children:g.map(r=>{let s=e===r.href;return(0,a.jsxs)(t.Link,{href:r.href,className:`flex flex-col items-center gap-0.5 py-1.5 px-3 rounded-lg transition-colors ${s?"text-teal-400":"text-white/30 active:text-white/60"}`,children:[(0,a.jsx)(r.icon,{className:"h-5 w-5"}),(0,a.jsx)("span",{className:"text-[10px] font-medium",children:r.label})]},r.href)})})})]})}e.s(["CreateSidebar",()=>N],208499)}]);

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.