PageSourceSearch

https://kie.ai/_next/static/chunks/pages/playground/luma-modify-727b57fb380bf874.js

js kie.ai collected 2026-10-03 21:45:35 UTC 21,204 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2668],{96764:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/playground/luma-modify",function(){return l(36606)}])},19266:function(e,t,l){"use strict";l.d(t,{$:function(){return n}});var r=l(39696),a=l(90170),s=l(12893),o=l(85717);function n(e){let{videos:t}=e,[l,n]=(0,a.useState)(0),[i,c]=(0,a.useState)(null),[d,u]=(0,a.useState)(!0),m=(0,a.useRef)(null),f=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=()=>{let e=navigator.userAgent||navigator.vendor||window.opera,t=window.innerWidth<=768,l="MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,r=/iPad|iPhone|iPod/i.test(e)||l,a=/android/i.test(e),s="ontouchstart"in window||navigator.maxTouchPoints>0;u(r||a||s&&t)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,a.useEffect)(()=>{m.current&&!d&&m.current.play().catch(()=>{console.warn("自动播放失败,可能需要用户交互")})},[d]),(0,a.useEffect)(()=>{let e=m.current;if(!e)return;let r=()=>{x()},a=()=>{if(e.duration&&e.currentTime/e.duration>.8&&f.current&&null===i){let e=(l+1)%t.length;c(e),f.current.src=t[e].videoUrl,f.current.load()}};return e.addEventListener("ended",r),e.addEventListener("timeupdate",a),()=>{e.removeEventListener("ended",r),e.removeEventListener("timeupdate",a)}},[l,i,t]),(0,a.useEffect)(()=>{let e=m.current;if(!e||!d)return;let t=()=>{try{e.pause(),e.currentTime=0}catch(e){}};e.addEventListener("loadeddata",t);try{e.load()}catch(e){}return()=>{e.removeEventListener("loadeddata",t)}},[d,l]);let x=()=>{let e=(l+1)%t.length;i===e&&f.current?(m.current=f.current,f.current=m.current,n(e),c(null),m.current&&!d&&(m.current.currentTime=0,m.current.play().catch(()=>{console.warn("切换后自动播放失败")}))):(n(e),c(null),setTimeout(()=>{m.current&&!d&&(m.current.currentTime=0,m.current.play().catch(()=>{console.warn("切换后自动播放失败")}))},50))};return(0,r.jsx)("div",{className:"relative h-full w-full overflow-hidden py-6 lg:py-8",children:(0,r.jsxs)("div",{className:"mx-auto max-w-3xl lg:max-w-4xl",children:[(0,r.jsx)("div",{className:"relative aspect-video overflow-hidden rounded-xl bg-[rgba(var(--tool-color-rgb),0.01)] shadow-xl",children:(0,r.jsxs)("div",{className:"relative h-full w-full",children:[(0,r.jsx)("video",{ref:m,src:t[l].videoUrl,className:"mx-auto w-full object-cover",playsInline:!0,"webkit-playsinline":"true","x5-playsinline":"true","x-webkit-airplay":"deny",controlsList:"nodownload noplaybackrate",poster:t[l].posterUrl||t[l].thumbnailUrl||void 0,preload:"auto",muted:!0,autoPlay:!d,controls:!0,onEnded:x}),(0,r.jsx)("video",{ref:f,className:"hidden",preload:"auto",muted:!0}),(0,r.jsxs)("div",{className:"absolute inset-x-0 top-1/2 hidden -translate-y-1/2 items-center justify-between px-4 lg:flex",children:[(0,r.jsx)("button",{onClick:()=>{n((l-1+t.length)%t.length),c(null),setTimeout(()=>{m.current&&!d&&(m.current.currentTime=0,m.current.play().catch(()=>{console.warn("切换后自动播放失败")}))},50)},className:"flex h-10 w-10 items-center justify-center rounded-full bg-[rgba(var(--tool-color-rgb),0.12)] text-white backdrop-blur-sm transition-transform hover:scale-110",children:(0,r.jsx)(s.Z,{className:"h-6 w-6"})}),(0,r.jsx)("button",{onClick:x,className:"flex h-10 w-10 items-center justify-center rounded-full bg-[rgba(var(--tool-color-rgb),0.12)] text-white backdrop-blur-sm transition-transform hover:scale-110",children:(0,r.jsx)(o.Z,{className:"h-6 w-6"})})]})]})}),(0,r.jsx)("div",{className:"mt-4 flex justify-center gap-2",children:t.map((e,t)=>(0,r.jsx)("button",{onClick:()=>{n(t),c(null),setTimeout(()=>{m.current&&!d&&(m.current.currentTime=0,m.current.play().catch(()=>{console.warn("缩略图切换后自动播放失败")}))},50)},className:"h-2 w-8 rounded-full transition-all ".concat(l===t?"bg-[var(--tool-color-primary)]":"bg-[rgba(var(--tool-color-rgb),0.15)]")},t))})]})})}},80684:function(e,t,l){"use strict";l.d(t,{u:function(){return Z}});var r=l(39696),a=l(82135),s=l(90170),o=l(18604),n=l(18595),i=l(59213),c=l(12732),d=l(12245),u=l(2453),m=l(44965),f=l(26716),x=l(18492),p=l(56156),h=l(27220),v=l(84140),g=l(2365),w=l(93219),j=l(68237),y=l(19266),b=l(53070),N=l(49650),k=l(4993),E=l(10929),C=l(36380),A=l.n(C);let M=[{videoUrl:"https://file.aiquickdraw.com/custom-page/akr/section-images/1755165674424x1b4oail.mp4"},{videoUrl:"https://file.aiquickdraw.com/custom-page/akr/section-images/17551656895566y0oseck.mp4"},{videoUrl:"https://file.aiquickdraw.com/custom-page/akr/section-images/17551657186411z6hm2ga.mp4"},{videoUrl:"https://file.aiquickdraw.com/custom-page/akr/section-images/17551657317626957bcbm.mp4"}],S=(0,a.Pi)(e=>{var t,l,a,C;let{}=e,{t:S}=(0,p.Z)("dashboard"),Z=(0,j.useRouter)(),{userStore:P}
1=(0,h.o)(),[_,T]=(0,s.useState)(""),[z,U]=(0,s.useState)(!1),[I,L]=(0,s.useState)([]),[O,D]=(0,s.useState)([]),[q,F]=(0,s.useState)(null),[R,Y]=(0,s.useState)(!1),[V,W]=(0,s.useState)(!1),[B,J]=(0,s.useState)(0),[K,$]=(0,s.useState)(""),[G,X]=(0,s.useState)(""),[H,Q]=(0,s.useState)(!1),ee=(0,s.useRef)(null),et=(0,s.useRef)(null),[el,er]=(0,s.useState)(!1),ea=e=>{let t=e[0];if(t){if(t.size>10485760){x.Am.error("Video size cannot exceed ".concat(10,"MB"));return}if(!["video/mp4","video/avi","video/mov","video/wmv","video/flv","video/webm"].includes(t.type)){x.Am.error("Only MP4, AVI, MOV, WMV, FLV and WEBM video formats are supported");return}U(!0),(0,m._R)(t,"kie-ai/veo3-video").then(e=>{T(e),U(!1)}).catch(e=>{console.error("Error uploading file:",e),x.Am.error("Upload failed, please try again"),U(!1)})}};(0,s.useEffect)(()=>{O.length>0&&(ea(O),D([]))},[O]),(0,s.useEffect)(()=>{I.length>0&&ea(I)},[I]);let es=async()=>{W(!0);try{await (0,f.$)(eo()),W(!1)}catch(e){W(!1)}},eo=()=>{if(q&&"success"===q.state){let e=q.response||q,t=(null==e?void 0:e.resultUrls)||(null==e?void 0:e.result_urls)||(null==e?void 0:e.resultUrl);if(Array.isArray(t)&&t.length>0)return t[0];if("string"==typeof t&&t)return t}return""},en=e=>{let t=setInterval(async()=>{try{let l=await (0,n.Z)({headers:{Authorization:"Bearer ".concat(P.user.apiKey),"Content-Type":"application/x-www-form-urlencoded"},url:"".concat("https://api.kie.ai","/api/v1/modify/record-info?taskId=").concat(e),method:"GET"});if(200===l.data.code){let e=l.data.data,r=e.successFlag,a=e.response||e,s=(null==a?void 0:a.resultUrls)||(null==a?void 0:a.result_urls)||(null==a?void 0:a.resultUrl),o={...e,state:0===r?"generating":1===r?"success":"fail",response:a,videoInfo:a?{videoUrl:Array.isArray(s)?s[0]||null:"string"==typeof s?s:null}:null};if(F(o),0===e.successFlag){if(et.current){let e=Date.now()-et.current;J(Math.floor(Math.min(e/36e4*99,99)))}}else Y(!1),clearInterval(t),1===e.successFlag&&J(100)}else clearInterval(t),Y(!1),x.Am.error(l.data.msg)}catch(e){console.log(e),clearInterval(t),Y(!1)}},1500)},ei=async()=>{if(!P.user){er(!0);return}if(!P.user.apiKey){x.Am.error(S("toast.apiKeyEmpty")),Z.push("/api-key");return}if(!K){x.Am.error(S("toast.promptEmpty"));return}if(!_){x.Am.error(S("toast.videoEmpty"));return}if(!R){q&&F(null),J(0),Y(!0);try{var e;let t=await (0,n.Z)({headers:{Authorization:"Bearer ".concat(null===(e=P.user)||void 0===e?void 0:e.apiKey),"Content-Type":"application/json"},url:"".concat("https://api.kie.ai","/api/v1/modify/generate"),method:"POST",data:{prompt:K,callBackUrl:"playground",waterMark:G,videoUrl:_}});200===t.data.code?(en(t.data.data.taskId),P.loadUserInfo(),et.current=Date.now()):(402===t.data.code?Q(!0):x.Am.error(t.data.msg),Y(!1))}catch(e){console.log(e),Y(!1),x.Am.error(S("toast.serverAbnormal"))}}};return(0,r.jsxs)("div",{className:"relative h-full w-full",children:[P.user&&(0,r.jsx)("div",{className:"absolute right-0 top-0 flex justify-end",children:(0,r.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-lg bg-gradient-to-r from-violet-50 to-indigo-50 px-3 py-1.5 shadow-sm",children:[(0,r.jsxs)("span",{className:"text-sm font-medium text-default-400",children:[S("playground.credits"),":"]}),(0,r.jsx)("span",{className:"bg-gradient-to-r from-violet-600 to-indigo-600 bg-clip-text text-base font-bold text-transparent",children:(null===(l=P.user)||void 0===l?void 0:null===(t=l.credits)||void 0===t?void 0:t.toLocaleString())||0}),(0,r.jsx)(v.JO,{icon:"solar:medal-star-bold",className:"h-5 w-5 text-amber-500"})]})}),(0,r.jsx)("div",{className:"mt-6 h-full w-full lg:mt-0",children:(0,r.jsxs)("div",{className:"flex h-full w-full flex-col items-start rounded-xl bg-[rgba(var(--tool-color-rgb),0.02)] lg:flex-row",children:[(0,r.jsx)("div",{className:"w-full text-sm lg:h-full lg:w-[30%]",children:(0,r.jsxs)("div",{className:"w-full flex-col lg:flex lg:h-full",children:[(0,r.jsxs)("div",{className:"flex flex-col items-start gap-2 overflow-auto p-4 pt-1",children:[(0,r.jsx)("div",{className:"flex w-full flex-col items-start space-y-2",children:(0,r.jsxs)("div",{className:"w-full rounded-lg bg-[var(--tool-color-background)] p-2.5 text-[var(--tool-color-text-primary)]",children:[(0,r.jsxs)("label",{className:"mb-2 inline-flex w-full items-center gap-1 text-sm font-medium",children:[S("video.label.video"),(0,r.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,r.jsxs)("div",{className:(0,E.cn)("relative flex aspect-[2/1] w-full cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed text-center transition duration-500 hover:border-blue-500",_?"border-blue-500":"border-default-200"),onClick:()=>{var e;return null===(e=ee.current)||void 0===e?void 0:e.click()},onDrop:e=>{e.preventDefault();let t=e.dataTransfer.files,l=[];for(let e=0;e<t.length;e++){let r=t[e];if(r.type.startsWith("video/")){l.push(r);break}}l.length>0?L([...l]):L([])},onDragOver:e=>{e.preventDefault()},onPaste:e=>{e.preventDefault();let t=e.clipboardData.items,l=[...O];for(let e=0;e<t.length;e++){let r=t[e];if("file"===r.kind&&r.type.startsWith("video/")){let e=r.getAsFile();l.push(e);break}}l.length>0&&D(l)},children:[_?(0,r.jsxs)("div",{className:"flex h-full w-full items-center justify-center",children:[(0,r.jsx)("video",{src:_,className:"h-auto max-h-full w-auto max-w-full",autoPlay:!0,loop:!0,muted:!0}
1),(0,r.jsx)("button",{className:"absolute right-1 top-1 inline-flex h-6 w-6 items-center justify-center rounded-full bg-default-500 text-default-100 shadow-md transition duration-500 hover:opacity-80",onClick:e=>{e.stopPropagation(),T(""),ee.current&&(ee.current.value=null)},children:(0,r.jsx)(b.Z,{width:16})})]}):(0,r.jsx)("div",{className:"flex flex-col items-center justify-center gap-2 py-6",children:z?(0,r.jsx)("div",{className:"flex flex-col items-center justify-center",children:(0,r.jsx)(c.Z,{color:"#006fee",size:10,margin:5})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(N.Z,{className:"mx-auto h-10 w-10 text-default-400"}),(0,r.jsx)("p",{className:"text-sm text-default-600",children:S("video.placeholder.video")}),(0,r.jsx)("p",{className:"text-xs text-default-500",children:S("video.label.supportedVideo",{maxSize:10})})]})}),(0,r.jsx)("input",{type:"file",ref:ee,onChange:e=>ea(e.target.files),accept:"video/*",className:"hidden"})]})]})}),(0,r.jsx)("div",{className:"flex w-full flex-col items-start space-y-2",children:(0,r.jsxs)("div",{className:"w-full rounded-lg bg-[var(--tool-color-background)] p-2.5 text-[var(--tool-color-text-primary)]",children:[(0,r.jsxs)("label",{className:"mb-2 block w-full gap-1 text-sm font-medium",children:[S("video.label.motionPrompt"),(0,r.jsx)("span",{className:"text-red-500",children:" *"})]}),(0,r.jsx)("div",{className:"relative w-full",children:(0,r.jsx)("textarea",{value:K,onChange:e=>$(e.target.value),placeholder:S("video.placeholder.motionPrompt"),className:"h-24 w-full resize-none overflow-y-auto rounded-lg border-none bg-[rgba(var(--tool-color-rgb),0.02)] p-2 text-sm outline outline-1 -outline-offset-1 outline-transparent placeholder:text-xs placeholder:text-[var(--tool-color-text-placeholder)] hover:outline-[var(--tool-color-primary)] focus:outline-[var(--tool-color-primary)] lg:h-36"})})]})}),(0,r.jsx)("div",{className:"flex w-full flex-col items-start space-y-2",children:(0,r.jsxs)("div",{className:"w-full rounded-lg bg-[var(--tool-color-background)] p-2.5 text-[var(--tool-color-text-primary)]",children:[(0,r.jsx)("label",{className:"mb-2 block w-full gap-1 text-sm font-medium",children:S("video.label.watermark")||"Watermark"}),(0,r.jsx)("div",{className:"relative w-full",children:(0,r.jsx)("input",{type:"text",value:G,onChange:e=>X(e.target.value),placeholder:S("video.placeholder.watermark")||"Enter watermark text (
1optional)",className:"h-10 w-full rounded-lg border-none bg-[rgba(var(--tool-color-rgb),0.02)] p-2 text-sm outline outline-1 -outline-offset-1 outline-transparent placeholder:text-xs placeholder:text-[var(--tool-color-text-placeholder)] hover:outline-[var(--tool-color-primary)] focus:outline-[var(--tool-color-primary)]"})})]})})]}),(0,r.jsx)("div",{className:"flex flex-col gap-3 px-4",children:(0,r.jsxs)("button",{onClick:ei,className:"inline-flex w-full cursor-pointer items-center justify-center gap-2 rounded-full bg-gradient-to-t from-[var(--tool-color-primary-dark)] to-[var(--tool-color-primary-light)] px-2 py-2.5 text-center text-white transition duration-500 hover:scale-95",children:[P.user&&P.user.consumeCreditsMap&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 text-white",children:[(0,r.jsx)(k.Z,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"text-sm",children:(null===(C=P.user)||void 0===C?void 0:null===(a=C.consumeCreditsMap)||void 0===a?void 0:a.luma_modify_generate)||50}),(0,r.jsx)("span",{className:"ml-2 h-4 w-[1px] bg-white/30"})]}),S("video.generateBtn"),R&&(0,r.jsx)(c.Z,{color:"var(--tool-color-primary-contrast)",size:6})]})})]})}),(0,r.jsx)("div",{className:"relative m-auto flex w-full flex-col items-center justify-center lg:h-[80vh] lg:w-[70%]",children:(0,r.jsx)("div",{className:"relative flex h-full w-full items-center justify-center p-4 lg:p-2",children:(()=>{if(q)switch(q.state){case"success":return(0,r.jsxs)("div",{className:"flex w-full flex-col items-center justify-center",children:[(0,r.jsx)("video",{className:"m-0 max-h-[200px] rounded-xl lg:max-h-[450px]",autoPlay:!0,muted:!0,controls:!0,children:(0,r.jsx)("source",{src:eo(),type:"video/mp4"})}),(0,r.jsx)("div",{className:"absolute bottom-5 right-5 aspect-square w-8 rounded-xl bg-[var(--tool-color-primary)] backdrop-blur-md lg:bg-[rgba(var(--tool-color-rgb),0.05)] ".concat(V?"cursor-not-allowed":"group cursor-pointer transition duration-500 lg:hover:bg-[var(--tool-color-primary)]"," inline-flex items-center justify-center"),children:V?(0,r.jsx)(i.Z,{color:"var(--tool-color-text-primary)",size:14}):(0,r.jsx)(o.Z,{onClick:es,icon:"download",className:"w-5 fill-[var(--tool-color-primary-contrast)] transition duration-500 lg:fill-[var(--tool-color-text-primary)] lg:group-hover:fill-[var(--tool-color-primary-contrast)]"})})]});case"wait":return(0,r.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-2",children:[(0,r.jsx)(o.Z,{icon:"logo",className:"w-20 animate-bounce fill-[var(--tool-color-primary)]"}),(0,r.jsxs)("p",{className:"flex w-full items-center justify-center gap-1 text-[var(--tool-color-text-primary)]",children:[S("video.waitingStart"),(0,r.jsx)(c.Z,{color:"var(--tool-color-text-primary)",size:4})]})]});case"queuing":return(0,r.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-2",children:[(0,r.jsx)(o.Z,{icon:"logo",className:"w-20 animate-bounce fill-[var(--tool-color-primary)]"}),(0,r.jsxs)("p",{className:"flex w-full items-center justify-center gap-1 text-[var(--tool-color-text-primary)]",children:[S("video.queue"),(0,r.jsx)(d.Z,{color:"var(--tool-color-text-primary)",size:18})]})]});case"generating":return(0,r.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-2",children:[(0,r.jsxs)("div",{className:"relative w-2/3 overflow-hidden rounded-xl",children:[(0,r.jsx)(A(),{width:100,height:100,src:"https://file.aiquickdraw.com/custom-page/image/1733384621863dr5jxiyq.webp",alt:"image",className:"w-full opacity-20"}),(0,r.jsx)("div",{className:"absolute left-1/2 top-1/2 inline-block -translate-x-1/2 -translate-y-1/2",children:(0,r.jsx)(u.Z,{size:60,color:"var(--tool-color-primary)"})})]}),(0,r.jsxs)("p",{className:"flex w-full items-center justify-center gap-2 text-[var(--tool-color-text-primary)]",children:[S("video.generationProgress"),(0,r.jsxs)("span",{className:"font-semibold text-[var(--tool-color-primary)]",children:[B,"%"]})]}),(0,r.jsx)("p",{className:"mt-1 w-full whitespace-pre-wrap break-words px-3 text-center text-sm text-default-500 md:px-10",children:S("video.generatingTime",{time:"6-7"})})]});case"fail":return(0,r.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4",children:[(0,r.jsx)(o.Z,{icon:"generate_failed",className:"w-20 fill-amber-500"}),(0,r.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-1.5 px-4 text-center",children:[(0,r.jsx)("p",{className:"text-amber-500",children:S("video.failed")}),q.errorMessage&&(0,r.jsx)("p",{className:"-mt-4 text-amber-500",children:q.errorMessage}),(0,r.jsx)("p",{className:"txt-xs text-amber-500",children:S("playground.generationFailedCredits")})]})]});default:return null}return(0,r.jsx)("div",{className:"mt-[10vh] flex h-full w-full flex-col items-center justify-start p-4 lg:p-8",children:(0,r.jsx)(y.$,{videos:M})})})()})})]})}),(0,r.jsx)(g.default,{isOpen:el,onClose:()=>er(!1)}),(0,r.jsx)(w.Z,{isOpen:H,onClose:()=>Q(!1)})]})}),Z=(0,a.Pi)(()=>(0,r.jsx)("div",{className:"relative w-full",children:(0,r.jsx)("div",{className:"flex w-full flex-col items-start justify-between overflow-hidden lg:h-full lg:flex-row lg:gap-8",children:(0,r.jsx)(S,{})})}))},93219:function(e,t,l){"use strict";var r=l(39696);l(90170);var a=l(68237),s=l(32324),o=l(84140),n=l(56156);t.Z=e=>{let{isOpen:t,onClose:l}=e,i=(0,a.useRouter)(),{t:c}=(0,n.Z)("dashboard");return t?(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm",children:(0,r.jsxs)("div",{className:"relative w-full max-w-md rounded-2xl bg-white p-6 shadow-2xl dark:bg-gray-800",children:[(0,r.jsx)("button",{onClick:l,className:"absolute right-4 top-4 inline-flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 text-gray-500 transition-colors hover:bg-gray-200 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600",children:(0,r.jsx)(o.JO,{icon:"lucide:x",className:"h-4 w-4"})}),(0,r.jsx)("div",{className:"mb-4 flex justify-center",children:(0,r.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-amber-100 dar
1k:bg-amber-900/20",children:(0,r.jsx)(o.JO,{icon:"solar:medal-star-bold",className:"h-8 w-8 text-amber-500"})})}),(0,r.jsx)("h3",{className:"mb-3 text-center text-xl font-semibold text-gray-900 dark:text-white",children:c("insufficientCreditsModal.title")}),(0,r.jsx)("p",{className:"mb-6 text-center text-sm text-gray-600 dark:text-gray-400",children:c("insufficientCreditsModal.content")}),(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsxs)(s.A,{onPress:()=>{let e=i.locale&&i.locale!==i.defaultLocale?"/".concat(i.locale):"",t="".concat(i.basePath||"").concat(e,"/billing");window.open(t,"_blank","noopener,noreferrer"),l()},className:"w-full bg-gradient-to-r from-blue-500 to-purple-600 text-white shadow-lg transition-all hover:scale-105 hover:shadow-xl",size:"lg",children:[(0,r.jsx)(o.JO,{icon:"lucide:credit-card",className:"mr-2 h-4 w-4"}),c("insufficientCreditsModal.top")]}),(0,r.jsx)(s.A,{onPress:l,className:"w-full text-default-500 shadow-lg transition-all hover:scale-105 hover:shadow-xl",size:"lg",children:c("insufficientCreditsModal.cancel")})]})]})}):null}},10929:function(e,t,l){"use strict";l.d(t,{JV:function(){return i},cn:function(){return n},o0:function(){return d},p6:function(){return c}});var r=l(65117),a=l(55054),s=l(26837),o=l.n(s);function n(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return(0,a.m6)((0,r.W)(t))}function i(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(e/100)}function c(e){return o()(e).format("MMM D, YYYY")}function d(e){return o()(e).format("MMM D, YYYY h:mm A")}},36606:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return u}});var r=l(39696),a=l(56156);l(90170);var s=l(68237),o=l(6924),n=l(5270),i=l.n(n),c=l(63992),d=l(80684),u=!0;t.default=function(e){let{}=e,t=(0,s.useRouter)(),{t:l}=(0,a.Z)("common");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i(),{children:[(0,r.jsx)("title",{children:l("head.title")}),(0,r.jsx)("meta",{name:"description",content:l("head.description")}),(0,r.jsx)("meta",{name:"robots",content:"noindex"}),(0,o.t5)(t,"/playground/luma-modify")]}),(0,r.jsx)("div",{className:"relative w-full",children:(0,r.jsx)("main",{children:(0,r.jsx)(c.Z,{selectedKey:"playground-luma-modify",children:(0,r.jsx)(d.u,{})})})})]})}}},function(e){e.O(0,[2004,2324,5464,4285,6380,5143,1472,9591,7829,2015,4644,2045,1347,2278,6179,7410,2929,9648,5054,6182,2365,8375,8799,2888,9774,179],function(){return e(e.s=96764)}),_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.