1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,113271,e=>{"use strict";var t=e.i(193685),a=e.i(305084),r=e.i(888205),s=e.i(442367),i=e.i(127104),n=e.i(745937);function l(e){let{currentSlug:l,lead:o="features"}=e,c=(0,a.useTranslations)("arcads.inner"),d=(0,a.useTranslations)("arcads.footer.links"),u=[{id:"features",heading:c("moreFeatures"),hub:i.ROUTES.features,slugs:i.FEATURE_SLUGS},{id:"industries",heading:c("moreIndustries"),hub:i.ROUTES.industries,slugs:i.INDUSTRY_SLUGS},{id:"useCases",heading:c("moreUseCases"),hub:i.ROUTES.useCases,slugs:i.USE_CASE_SLUGS}],m=[...u.filter(e=>e.id===o),...u.filter(e=>e.id!==o)];return(0,t.jsxs)("div",{className:"mt-10 flex flex-col gap-10",children:[m.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-baseline justify-between gap-3",children:[(0,t.jsx)("h3",{className:n.H3,children:e.heading}),(0,t.jsx)(s.Link,{href:e.hub,className:"text-sm font-semibold text-[#8A5A12] underline underline-offset-4 transition-colors hover:text-[#121212]",children:c("viewAll")})]}),(0,t.jsx)("div",{className:"mt-4 grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-4",children:e.slugs.map(a=>a===l?(0,t.jsx)("span",{className:"flex h-full items-center rounded-[14px] border border-dashed border-black/20 p-4 text-sm font-semibold text-[#666666]",children:d(a)},a):(0,t.jsxs)(s.Link,{href:`${e.hub}/${a}`,className:"flex h-full items-center justify-between gap-3 rounded-[14px] border border-black/10 bg-white p-4 text-sm font-semibold text-[#121212] shadow-[0_1px_2px_rgba(0,0,0,0.04)] transition-colors hover:border-[#F5A524] hover:text-[#8A5A12]",children:[(0,t.jsx)("span",{children:d(a)}),(0,t.jsx)(r.ArrowRight,{size:16,"aria-hidden":"true",className:"shrink-0 text-[#8A5A12]"})]},a))})]},e.id)),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:n.H3,children:c("moreReading")}),(0,t.jsx)("p",{className:`${n.CAPTION} mt-2`,children:c("moreReadingNote")}),(0,t.jsx)("ul",{className:"mt-4 flex list-none flex-wrap gap-3",children:[{href:i.ROUTES.home,key:"home"},{href:i.ROUTES.blog,key:"blog"},{href:i.ROUTES.features,key:"features"},{href:i.ROUTES.industries,key:"industries"},{href:i.ROUTES.useCases,key:"useCases"}].map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)(s.Link,{href:e.href,className:"inline-flex items-center gap-2 rounded-full border border-black/10 bg-white px-4 py-2 text-sm font-semibold text-[#121212] transition-colors hover:border-[#F5A524] hover:text-[#8A5A12]",children:[c(`reading.${e.key}`),(0,t.jsx)(r.ArrowRight,{size:14,"aria-hidden":"true"})]})},e.key))})]})]})}e.s(["default",()=>l])},127104,e=>{"use strict";var t=e.i(445346);let a="arcads",r=(0,t.getTenantCta)("arcads"),s="studio",i={studio:s,features:"features",howItWorks:"how-it-works",useCases:"use-cases-band",showcase:"showcase",compare:"compare",testimonials:"testimonials",faq:"faq"},n={home:"/",features:"/features",industries:"/industries",useCases:"/use-cases",blog:"/blog",privacy:"/privacy",terms:"/terms"},l=["ai-actors","ai-ads","ai-avatars","ai-ugc-ads","ai-ugc-video","ai-video-generator","ai-ad-generator","ai-product-video-generator","ai-shorts-generator","ai-tiktok-ads-generator","facebook-ai-ads-generator","talking-avatar-ai","ai-content-generator","ai-for-affiliate"],o=["e-commerce","saas","mobile-apps","lead-gen","marketing-agencies","insurance","real-estate-agencies","law-firms"],c=["ai-tiktok-video-generator","ai-facebook-video-ad-generator","ai-youtube-video-generator","ai-instagram-reels-generator","ad-creative-testing","ai-product-demo-video"],d=[{key:"features",href:n.features},{key:"industries",href:n.industries},{key:"useCases",href:n.useCases},{key:"showcase",anchor:i.showcase},{key:"faq",anchor:i.faq}],u="https://cdn.arcads.pro/2026-08-05",m={heroA:`${u}/arcads-editing-1-01.webp`,heroB:`${u}/arcads-langue-french-01.webp`,heroC:`${u}/arcads-own-2-01.webp`,heroD:`${u}/arcads-view-2-01.webp`,stepDescribe:`${u}/arcads-editing-1-01.webp`,stepGenerate:`${u}/arcads-own-3-01.webp`,stepPreview:`${u}/arcads-frame-scene-01.webp`,showcaseSkincare:`${u}/arcads-editing-1-01.webp`,showcaseMale:`${u}/arcads-langue-french-01.webp`,showcaseLifestyle:`${u}/arcads-view-2-01.webp`,showcaseReaction:`${u}/arcads-emotion-1-01.webp`,showcaseFitness:`${u}/arcads-frame-scene-01.webp`,showcaseCoffee:`${u}/arcads-own-2-01.webp`,showcaseTech:`${u}/arcads-langue-england-01.webp`,showcaseApparel:`${u}/arcads-view-3-01.webp`,showcaseTravel:`${u}/arcads-langue-italian-01.webp`},x=[{id:"skincare",image:m.heroA,priority:!0},{id:"male",image:m.heroB},{id:"product",image:m.heroC},{id:"lifestyle",image:m.heroD}],h=[{id:"describe",image:m.stepDescribe},{id:"generate",image:m.stepGenerate},{id:"preview",image:m.stepPreview}],f=[{id:"ecommerce",href:`${n.industries}/e-commerce`},{id:"saas",href:`${n.industries}/saas`}
1,{id:"mobileApps",href:`${n.industries}/mobile-apps`},{id:"agencies",href:`${n.industries}/marketing-agencies`},{id:"tiktok",href:`${n.useCases}/ai-tiktok-video-generator`},{id:"facebook",href:`${n.useCases}/ai-facebook-video-ad-generator`},{id:"youtube",href:`${n.useCases}/ai-youtube-video-generator`},{id:"testing",href:`${n.useCases}/ad-creative-testing`}],b=[{id:"skincare",image:m.showcaseSkincare},{id:"male",image:m.showcaseMale},{id:"lifestyle",image:m.showcaseLifestyle},{id:"reaction",image:m.showcaseReaction},{id:"fitness",image:m.showcaseFitness},{id:"coffee",image:m.showcaseCoffee},{id:"tech",image:m.showcaseTech},{id:"apparel",image:m.showcaseApparel},{id:"travel",image:m.showcaseTravel}],p=[{titleKey:"features",links:l.map(e=>({key:e,href:`${n.features}/${e}`}))},{titleKey:"industries",links:o.map(e=>({key:e,href:`${n.industries}/${e}`}))},{titleKey:"useCases",links:c.map(e=>({key:e,href:`${n.useCases}/${e}`}))},{titleKey:"resources",links:[{key:"blog",href:n.blog},{key:"allFeatures",href:n.features},{key:"allIndustries",href:n.industries},{key:"allUseCases",href:n.useCases},{key:"showcase",anchor:i.showcase},{key:"faq",anchor:i.faq},{key:"privacy",href:n.privacy},{key:"terms",href:n.terms}]}];function g(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null==(t=window.umami)||t.track(e,{source:a,...r})}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"promo";g("cta_click",{position:e,destination:t,page:window.location.pathname})}e.s(["ANCHORS",0,i,"ASPECT_RATIOS",0,[{id:"vertical",value:"9:16"},{id:"portrait",value:"4:5"},{id:"square",value:"1:1"},{id:"wide",value:"16:9"},{id:"classic",value:"4:3"},{id:"tall",value:"3:4"}],"COMPARE_ROWS",0,[{id:"time"},{id:"cost"},{id:"actors"},{id:"revisions"},{id:"signup"},{id:"language"}],"FAQS",0,["whatIs","actors","free","output","productPhoto","campaigns","formats","account"],"FEATURE_CARDS",0,[{id:"actors",icon:"actors"},{id:"ugc",icon:"ugc"},{id:"product",icon:"product"},{id:"formats",icon:"formats"},{id:"workflow",icon:"workflow"},{id:"free",icon:"free"}],"FEATURE_SLUGS",0,l,"FOOTER_COLUMNS",0,p,"GENERATE_ANCHOR",0,s,"HERO_GALLERY",0,x,"HERO_PILL_KEYS",0,["actors","ugc","product","ratios"],"HERO_STAT_KEYS",0,["speed","actors","price"],"HOW_TO_STEPS",0,h,"INDUSTRY_SLUGS",0,o,"MARQUEE_BOTTOM_KEYS",0,["studioLighting","portraitStills","captions","localize","emotionControl","vertical","square","story","reels","productInHand","batchVariations"],"MARQUEE_TOP_KEYS",0,["aiActors","ugcAds","productShowcase","talkingActors","creativeTesting","hookVariations","backgroundSwap","actorSwap","cameraAngle","unboxing","lifestyle"],"NAV_ITEMS",0,d,"PROMO_CTA_TARGET_URL",0,r,"ROUTES",0,n,"SHOWCASE_ITEMS",0,b,"TENANT_SLUG",0,a,"TESTIMONIAL_KEYS",0,["skincare","mobile","buyer"],"USE_CASE_CARDS",0,f,"USE_CASE_SLUGS",0,c,"handleCtaClick",()=>v,"trackEvent",()=>g])},809787,745937,190682,297361,e=>{"use strict";var t=e.i(193685);let a="bg-[#121212]",r="mx-auto w-full max-w-[1040px] px-6",s="w-full py-16 md:py-24 lg:py-32",i="border-b border-black/10",n="border-b border-white/10",l="arcads-serif",o="text-balance text-[1.9rem] font-semibold leading-[1.2] tracking-[-0.02em] text-[#121212] md:text-[2.7rem]",c="text-balance text-[1.9rem] font-semibold leading-[1.2] tracking-[-0.02em] text-[#F5F6F8] md:text-[2.7rem]",d="max-w-[68ch] text-pretty text-[1rem] leading-[1.7] text-[#545454]",u="max-w-[68ch] text-pretty text-[1rem] leading-[1.7] text-[#A3A8B4]";e.s(["BAND",0,s,"BAND_BORDER",0,i,"BAND_BORDER_DARK",0,n,"BTN_PRIMARY",0,"inline-flex cursor-pointer items-center justify-center gap-2 rounded-full bg-[#121212] px-6 py-3 font-semibold text-white transition-transform hover:-translate-y-0.5 hover:bg-black disabled:cursor-not-allowed disabled:opacity-60 disabled:hover:translate-y-0","BTN_PRIMARY_ON_DARK",0,"inline-flex cursor-pointer items-center justify-center gap-2 rounded-full bg-white px-6 py-3 font-semibold text-[#121212] transition-transform hover:-translate-y-0.5 hover:bg-[#F5F6F8] disabled:cursor-not-allowed disabled:opacity-60 disabled:hover:translate-y-0","BTN_SECONDARY",0,"inline-flex cursor-pointer items-center justify-center gap-2 rounded-full border border-black/15 bg-white px-6 py-3 font-semibold text-[#121212] transition-colors hover:border-[#121212]","BTN_SECONDARY_ON_DARK",0,"inline-flex cursor-pointer items-center justify-center gap-2 rounded-full border border-white/20 px-6 py-3 font-semibold text-[#F5F6F8] transition-colors hover:border-white/50","CAPTION",0,"text-[0.875rem] leading-[1.6] text-[#666666]","CAPTION_ON_DARK",0,"text-[0.875rem] leading-[1.6] text-[#A3A8B4]","CARD",0,"rounded-[14px] border border-black/10 bg-white p-6 shadow-[0_1px_2px_rgba(0,0,0,0.04)] transition-colors hover:border-black/25","CARD_ICON",0,"mb-5 flex h-10 w-10 items-center justify-center rounded-lg bg-[#F5A524]/20 text-[#8A5A12]","CARD_ICON_ON_DARK",0,"mb-5 flex h-10 w-10 items-center justify-center rounded-lg bg-[#F5A524]/15 text-[#F5A524]","CARD_LINK",0,"flex h-full flex-col rounded-[14px] border border-black/10 bg-white p-5 shadow-[0_1px_2px_rgba(0,0,0,0.04)] transition-colors hover:border-[#F5A524]","CARD_ON_DARK",0,"rounded-[14px] border border-white/10 bg-white/[0.04] p-6 transition-colors hover:border-white/25","GROUND_DARK",0,a,"H1",0,"text-balance text-[2.6rem] font-bold leading-[1.1] tracking-[-0.02em] text-[#121212] sm:text-[3.4rem] lg:text-[4.4rem]","H2",0,o,"H2_ON_DARK",0,c,"H3",0,"text-balance text-[1.15rem] font-semibold leading-[1.2] tracking-[-0.02em] text-[#121212]","H3_ON_DARK",0,"text-balance text-[1.15rem] font-semibold leading-[1.2] tracking-[-0.02em] text-[#F5F6F8]","INNER",0,r,"P",0,"text-[1rem] leading-[1.6] text-[#545454] [&+p]:mt-4","PILL",0,"rounded-full border border-black/10 bg-white px-3.5 py-1.5 text-[0.875rem] text-[#545454]","SECTION_INTRO",0,d,"SECTION_INTRO_ON_DARK",0,u,"SERIF_EM",0,l,"TABLE",0,"w-full min-w-[720px] border-collapse overflow-hidden rounded-[14px] border border-black/10 bg-white text-left","TABLE_WRAP",0,"w-full overflow-x-auto","TD",0,"border-b border-black/10 p-5 align-middle text-[#545454] md:p-6","TD_OURS",0,"border-x border-[#F5A524]/40 bg-[#F5A524]/[0.08] font-medium text-[#121212]","TH",0,"border-b border-black/10 p-5 font-semibold text-[#121212] md:p-6"],745937);let m=["â","â",",","ï¼","ã"];function x(e){let{text:a}=e,{lead:r,emphasis:s}=function(e){let t=e.trim(),a=-1;for(let e of m)a=Math.max(a,t.lastIndexOf(e));if(a>0&&a<t.length-1){let e=t.slice(a+1).trim();if(e)return{lead:t.slice(0,a+1),emphasis:e}}let r=t.split(/\s+/);return r.length<4?{lead:t,emphasis:null}:{lead:r.slice(0,-2).join(" "),emphasis:r.slice(-2).join(" ")}}(a);return s?(0,t.jsxs)(t.Fragment,{children:[r," ",(0,t.jsx)("span",{className:l,children:s})]}):(0,t.jsx)(t.Fragment,{children:a})}e.s(["default",()=>x],190682);var h=e.i(126313);function f(e){let{children:a,className:r}=e,s=(0,h.useRef)(null);return(0,h.useEffect)(()=>{let e=s.current;if(!e||"undefined"==typeof IntersectionObserver)return;document.documentElement.classList.add("arcads-reveal-on");let t=()=>e.classList.add("arcads-in"),a=new IntersectionObserver(e=>{for(let r of e)r.isIntersecting&&(t(),a.unobserve(r.target))},{threshold:.1,rootMargin:"200px 0px"});a.observe(e);let r=setTimeout(()=>{t(),a.disconnect()},2500);return()=>{clearTimeout(r),a.disconnect()}},[]),(0,t.jsx)("div",{ref:s,className:r?`arcads-reveal ${r}`:"arcads-reveal",children:a})}function b(e){let{id:l,label:o,className:c,flush:d,tone:u="light",children:m}=e,x="dark"===u,h=d?"":x?n:i;return(0,t.jsx)("section",{id:l,"aria-label":o,className:`${s} ${h} ${x?a:""} scroll-mt-20`,children:(0,t.jsx)(f,{className:c?`${r} ${c}`:r,children:m})})}function p(e){let{title:a,intro:r,centered:s,tone:i="light"}=e,n="dark"===i;return(0,t.jsxs)("div",{className:s?"text-center":void 0,children:[(0,t.jsx)("h2",{className:n?c:o,children:(0,t.jsx)(x,{text:a})}),r?(0,t.jsx)("p",{className:`${n?u:d} mt-4 ${s?"mx-auto":""}`,children:r}):null]})}e.s(["default",()=>f],297361),e.s(["Band",()=>b,"BandHead",()=>p],809787)},470898,483033,e=>{"use strict";var t=e.i(193685),a=e.i(662023),r=e.i(305084),s=e.i(888205),i=e.i(442367),n=e.i(965550),l=e.i(127104),o=e.i(126313),c=e.i(811574),d=e.i(927389);let u=[{code:"en",label:"English"},{code:"fr",label:"Français"},{code:"ja",label:"æ¥æ¬èª"},{code:"es",label:"Español"},{code:"pt",label:"Português"},{code:"pl",label:"Polski"}];function m(){let e=(0,r.useTranslations)("arcads.nav"),s=(0,a.useLocale)(),n=(0,i.usePathname)(),[l,m]=(0,o.useState)(!1),x=u.find(e=>e.code===s)??u[0];return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>m(!l),"aria-label":e("switchLanguage"),"aria-expanded":l,className:"inline-flex cursor-pointer items-center gap-1.5 rounded-full border border-black/10 bg-white px-2.5 py-1.5 text-sm font-semibold text-[#545454] transition-colors hover:border-[#F5A524] hover:text-[#121212]",children:[(0,t.jsx)(d.Globe,{size:15,"aria-hidden":"true"}),(0,t.jsx)("span",{children:x.code.toUpperCase()}),(0,t.jsx)(c.ChevronDown,{size:13,"aria-hidden":"true",className:l?"rotate-180 transition-transform":"transition-transform"})]}),l&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button","aria-label":e("closeLanguage"),onClick:()=>m(!1),className:"fixed inset-0 z-40 cursor-default"}),(0,t.jsx)("div",{className:"absolute right-0 z-50 mt-2 w-40 overflow-hidden rounded-lg border border-black/10 bg-white py-1 shadow-xl",children:u.map(e=>(0,t.jsx)(i.Link,{href:n,locale:e.code,onClick:()=>m(!1),className:`block px-3 py-2 text-sm transition-colors hover:bg-black/[0.05] ${s===e.code?"font-semibold text-[#8A5A12]":"text-[#545454]"}`,children:e.label},e.code))})]})]})}function x(e){let{onLanding:o}=e,c=(0,r.useTranslations)("arcads.footer"),d=(0,r.useTranslations)("arcads.nav"),u=(0,a.useLocale)(),x="en"===u?"/":`/${u}`,h="text-sm text-[#666666] transition-colors hover:text-[#121212]";return(0,t.jsxs)("footer",{className:"relative overflow-hidden border-t border-black/10 bg-[#E7E7E7] pb-10 pt-20",children:[(0,t.jsxs)("div",{className:"relative z-10 mx-auto w-full max-w-[1180px] px-6",children:[(0,t.jsx)("div",{className:"mb-16 grid grid-cols-2 gap-8 text-center sm:grid-cols-2 md:grid-cols-4",children:l.FOOTER_COLUMNS.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"mb-5 text-base font-semibold text-[#121212]",children:c(`columns.${e.titleKey}`)}),(0,t.jsx)("ul",{className:"flex list-none flex-col gap-3",children:e.links.map(e=>{let a;return(0,t.jsx)("li",{children:e.href?(0,t.jsx)(i.Link,{href:e.href,className:h,children:c(`links.${e.key}`)}):(0,t.jsx)("a",{href:(a=e.anchor,o?`#${a}`:`${x}#${a}`),className:h,children:c(`links.${e.key}`)})},e.key)})})]},e.titleKey))}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6 border-t border-black/10 pt-8 text-center md:flex-row md:items-center md:justify-between md:text-left",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 md:items-start",children:[(0,t.jsx)("div",{className:"text-xl font-bold text-[#121212]",children:d("brand")}),(0,t.jsx)("p",{className:"max-w-[38ch] text-sm text-[#666666]",children:c("tagline")}),(0,t.jsxs)(n.PromoCtaLink,{fallbackHref:l.ROUTES.home,tenantSlug:l.TENANT_SLUG,content:"footer-try-free",promoTargetUrl:l.PROMO_CTA_TARGET_URL,onClick:()=>(0,l.handleCtaClick)("footer"),"data-umami-event":"cta_click","data-umami-event-source":l.TENANT_SLUG,"data-umami-event-content":"footer-try-free",className:"inline-flex w-fit items-center gap-1.5 text-sm font-semibold text-[#8A5A12] underline underline-offset-4 transition-colors hover:text-[#121212]",children:[d("tryFree"),(0,t.jsx)(s.ArrowRight,{size:14,"aria-hidden":"true"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 md:items-end",children:[(0,t.jsx)(m,{}),(0,t.jsx)("div",{className:"text-sm text-[#666666]",children:c("copyright")})]})]}),(0,t.jsx)("p",{className:"mt-8 text-center text-xs leading-relaxed text-[#666666] md:text-left",children:c("disclaimer")})]}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none relative z-0 -mb-[5vw] mt-10 select-none text-center text-[18vw] font-bold leading-[0.78] tracking-[-0.04em] text-black/[0.06]",children:d("brand").toLowerCase()})]})}e.s(["default",()=>x],470898);var h=e.i(344861),f=e.i(76768),b=e.i(104971);function p(e){let{onLanding:s}=e,c=(0,r.useTranslations)("arcads.nav"),d=(0,a.useLocale)(),[u,x]=(0,o.useState)(!1),[p,g]=(0,o.useState)(!1);(0,o.useEffect)(()=>{let e=()=>g(window.scrollY>20);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let v="en"===d?"/":`/${d}`,k=e=>s?`#${e}`:`${v}#${e}`,N="text-sm font-medium text-[#545454] transition-colors hover:text-[#121212]",w="inline-flex items-center justify-center gap-2 rounded-full bg-[#121212] px-4 py-2 text-sm font-semibold text-white transition-transform hover:-translate-y-0.5 hover:bg-black";return(0,t.jsxs)("div",{className:`sticky top-0 z-[99] bg-[#EDEDED]/85 backdrop-blur-md transition-colors ${p?"border-b border-black/10":"border-b border-transparent"}`,children:[(0,t.jsxs)("nav",{"aria-label":c("primary"),className:"mx-auto flex h-16 w-full max-w-[1180px] items-center justify-between gap-4 px-6",children:[(0,t.jsx)(i.Link,{href:l.ROUTES.home,"aria-label":c("home"),className:"text-2xl font-bold tracking-tight text-[#121212]",children:c("brand")}),(0,t.jsxs)("div",{className:"hidden items-center gap-8 md:flex",children:[(0,t.jsx)("ul",{className:"flex list-none items-center gap-8",children:l.NAV_ITEMS.map(e=>(0,t.jsx)("li",{children:e.href?(0,t.jsx)(i.Link,{href:e.href,className:N,children:c(e.key)}
1):(0,t.jsx)("a",{href:k(e.anchor),className:N,children:c(e.key)})},e.key))}),(0,t.jsx)(m,{}),(0,t.jsxs)(n.PromoCtaLink,{fallbackHref:k(l.ANCHORS.studio),tenantSlug:l.TENANT_SLUG,content:"nav-try-free",promoTargetUrl:l.PROMO_CTA_TARGET_URL,onClick:()=>(0,l.handleCtaClick)("nav"),"data-umami-event":"cta_click","data-umami-event-source":l.TENANT_SLUG,"data-umami-event-content":"nav-try-free",className:w,children:[(0,t.jsx)(f.Sparkles,{size:16,"aria-hidden":"true"}),c("tryFree")]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 md:hidden",children:[(0,t.jsx)(m,{}),(0,t.jsx)("button",{type:"button",onClick:()=>x(!u),"aria-label":u?c("menuClose"):c("menu"),"aria-expanded":u,"aria-controls":"arcads-mobile-menu",className:"cursor-pointer rounded-md border border-black/15 p-2 text-[#121212]",children:u?(0,t.jsx)(b.X,{size:20,"aria-hidden":"true"}):(0,t.jsx)(h.Menu,{size:20,"aria-hidden":"true"})})]})]}),u&&(0,t.jsxs)("div",{id:"arcads-mobile-menu",className:"border-t border-black/10 bg-[#EDEDED] px-6 py-4 md:hidden",children:[(0,t.jsx)("ul",{className:"flex list-none flex-col gap-3",children:l.NAV_ITEMS.map(e=>(0,t.jsx)("li",{children:e.href?(0,t.jsx)(i.Link,{href:e.href,onClick:()=>x(!1),className:"block text-base font-medium text-[#121212]",children:c(e.key)}):(0,t.jsx)("a",{href:k(e.anchor),onClick:()=>x(!1),className:"block text-base font-medium text-[#121212]",children:c(e.key)})},e.key))}),(0,t.jsxs)(n.PromoCtaLink,{fallbackHref:k(l.ANCHORS.studio),tenantSlug:l.TENANT_SLUG,content:"nav-mobile-try-free",promoTargetUrl:l.PROMO_CTA_TARGET_URL,onClick:()=>{(0,l.handleCtaClick)("nav-mobile"),x(!1)},"data-umami-event":"cta_click","data-umami-event-source":l.TENANT_SLUG,"data-umami-event-content":"nav-mobile-try-free",className:`${w} mt-4 w-full px-6 py-3 text-base`,children:[(0,t.jsx)(f.Sparkles,{size:16,"aria-hidden":"true"}),c("tryFree")]})]})]})}e.s(["default",()=>p],483033)},804303,e=>{"use strict";var t=e.i(193685),a=e.i(662023),r=e.i(305084),s=e.i(740857),i=e.i(888205),n=e.i(76768),l=e.i(442367),o=e.i(965550),c=e.i(127104),d=e.i(190682),u=e.i(470898),m=e.i(483033),x=e.i(745937);function h(e){let{title:h,subhead:f,backLabel:b,backHref:p,secondaryLabel:g,secondaryHref:v,ctaContent:k,closingTitle:N,closingBody:w,children:j}=e,_=(0,r.useTranslations)("arcads.inner"),A=(0,r.useTranslations)("arcads.nav"),T=(0,a.useLocale)(),y="en"===T?"/":`/${T}`,E=`${y}#${c.ANCHORS.studio}`;return(0,t.jsxs)("div",{className:"min-h-screen bg-[#EDEDED]",children:[(0,t.jsx)(m.default,{}),(0,t.jsxs)("main",{children:[(0,t.jsxs)("section",{className:"relative overflow-hidden pb-12 pt-12 md:pb-16 md:pt-16",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 -z-10",style:{background:"radial-gradient(circle at 18% 0%, rgba(245,165,36,0.22) 0%, transparent 46%), radial-gradient(circle at 82% 30%, rgba(245,165,36,0.10) 0%, transparent 55%)"}}),(0,t.jsxs)("div",{className:x.INNER,children:[(0,t.jsxs)(l.Link,{href:p,className:"inline-flex items-center gap-2 text-xs font-bold uppercase tracking-widest text-[#666666] transition-colors hover:text-[#121212]",children:[(0,t.jsx)(s.ArrowLeft,{size:14,"aria-hidden":"true"}),b]}),(0,t.jsx)("h1",{className:`${x.H1} mt-6 max-w-[20ch]`,children:(0,t.jsx)(d.default,{text:h})}),f?(0,t.jsx)("p",{className:"mt-5 max-w-[68ch] text-pretty text-[1.0625rem] leading-[1.65] text-[#545454]",children:f}):null,(0,t.jsxs)("div",{className:"mt-8 flex flex-wrap items-center gap-3",children:[(0,t.jsxs)(o.PromoCtaLink,{fallbackHref:E,tenantSlug:c.TENANT_SLUG,content:`${k}-header`,promoTargetUrl:c.PROMO_CTA_TARGET_URL,onClick:()=>(0,c.handleCtaClick)(`${k}-header`),"data-umami-event":"cta_click","data-umami-event-source":c.TENANT_SLUG,"data-umami-event-content":`${k}-header`,className:x.BTN_PRIMARY,children:[(0,t.jsx)(n.Sparkles,{size:18,"aria-hidden":"true"}),A("tryFree")]}),(0,t.jsxs)(l.Link,{href:v,className:x.BTN_SECONDARY,children:[g,(0,t.jsx)(i.ArrowRight,{size:16,"aria-hidden":"true"})]})]})]})]}),j,(0,t.jsxs)("section",{className:"relative overflow-hidden bg-[#121212] px-6 py-24 text-center",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-1/2 h-[600px] w-[600px] -translate-x-1/2 -translate-y-1/2",style:{background:"radial-gradient(circle, rgba(245,165,36,0.18) 0%, transparent 60%)"}}),(0,t.jsxs)("div",{className:"relative z-10 mx-auto w-full max-w-[1180px]",children:[(0,t.jsx)("h2",{className:x.H2_ON_DARK,children:(0,t.jsx)(d.default,{text:N})}),(0,t.jsx)("p",{className:"mx-auto mb-10 mt-4 max-w-[620px] text-[#A3A8B4]",children:w}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-3 sm:flex-row",children:[(0,t.jsxs)(o.PromoCtaLink,{fallbackHref:E,tenantSlug:c.TENANT_SLUG,content:`${k}-final`,promoTargetUrl:c.PROMO_CTA_TARGET_URL,onClick:()=>(0,c.handleCtaClick)(`${k}-final`),"data-umami-event":"cta_click","data-umami-event-source":c.TENANT_SLUG,"data-umami-event-content":`${k}-final`,className:`${x.BTN_PRIMARY_ON_DARK} px-8 py-4 text-lg`,children:[(0,t.jsx)(n.Sparkles,{size:20,"aria-hidden":"true"}),_("finalCta.generate")]}),(0,t.jsx)(l.Link,{href:c.ROUTES.home,className:x.BTN_SECONDARY_ON_DARK,children:_("finalCta.studio")}
1)]})]})]})]}),(0,t.jsx)(u.default,{})]})}e.s(["default",()=>h])},320070,e=>{"use strict";var t=e.i(193685),a=e.i(126313),r=e.i(305084),s=e.i(135662),i=e.i(287848),n=e.i(76768),l=e.i(707887),o=e.i(127104),c=e.i(948183),d=e.i(888205),u=e.i(965550),m=e.i(745937);let x=["frames","motion","smoothing","finishing"];function h(e){let{creativeUrl:s,surface:l,onRestart:h}=e,f=(0,r.useTranslations)("arcads.mimic"),[b,p]=(0,a.useState)(null),[g,v]=(0,a.useState)(!1),k=(0,a.useRef)(null),N=(0,a.useCallback)(()=>{k.current&&clearInterval(k.current),k.current=null},[]);(0,a.useEffect)(()=>N,[N]),(0,a.useEffect)(()=>{N(),p(null),v(!1)},[s,N]);let w=null!==b&&!g,j=Math.round((b??0)*100),_=x[Math.min(x.length-1,Math.floor(j/25))]??x[0];return(0,t.jsxs)("div",{className:"mt-6 border-t border-black/10 pt-6",children:[!w&&!g&&(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("div",{className:"mx-auto mb-4 w-full max-w-[300px] overflow-hidden rounded-lg border border-black/10",children:(0,t.jsx)(c.default,{src:s,alt:f("creativeAlt"),width:1024,height:1024,unoptimized:!0,className:"block h-auto w-full"})}),(0,t.jsxs)("p",{className:"mb-4 text-center text-[#545454]",children:[(0,t.jsx)("strong",{className:"text-[#121212]",children:f("creativeTitle")})," ",f("creativeBody")]}),(0,t.jsxs)("button",{type:"button",onClick:()=>{N(),v(!1),p(0),(0,o.trackEvent)("animate_click",{surface:l});let e=Date.now();k.current=setInterval(()=>{let t=Math.min(1,(Date.now()-e)/3e4);p(1-Math.pow(1-t,2.2)),t>=1&&(N(),v(!0),(0,o.trackEvent)("animate_previewed",{surface:l}))},200)},"data-umami-event":"animate_click","data-umami-event-source":o.TENANT_SLUG,"data-umami-event-content":`${l}-animate`,className:`${m.BTN_PRIMARY} w-full`,children:[f("animate"),(0,t.jsx)(d.ArrowRight,{size:18,"aria-hidden":"true"})]}),(0,t.jsx)("p",{className:"mt-2 text-center text-xs text-[#666666]",children:f("animateNote")})]}),w&&(0,t.jsxs)("div",{role:"status","aria-live":"polite",children:[(0,t.jsx)("div",{className:"mb-2 h-1 w-full overflow-hidden rounded-sm bg-black/[0.08]",role:"progressbar","aria-label":f("progressLabel"),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":j,children:(0,t.jsx)("div",{className:"h-full bg-[#F5A524] transition-[width] duration-200 ease-linear",style:{width:`${j}%`}})}),(0,t.jsxs)("p",{className:"flex items-center gap-2 font-mono text-sm text-[#545454]",children:[(0,t.jsx)(i.Loader2,{size:14,className:"animate-spin","aria-hidden":"true"}),f(`statuses.${_}`)]})]}),g&&(0,t.jsxs)("div",{className:"rounded-lg border border-black/10 bg-[#F7F7F7] p-5 text-center",children:[(0,t.jsxs)("p",{className:"mb-4 text-[#545454]",children:[(0,t.jsx)("strong",{className:"text-[#121212]",children:f("previewTitle")})," ",f("previewBody")]}),(0,t.jsxs)(u.PromoCtaLink,{fallbackHref:o.ROUTES.useCases,tenantSlug:o.TENANT_SLUG,content:`${l}-mimic-preview`,promoTargetUrl:o.PROMO_CTA_TARGET_URL,onClick:()=>(0,o.handleCtaClick)(`${l}-mimic-preview`),"data-umami-event":"cta_click","data-umami-event-source":o.TENANT_SLUG,"data-umami-event-content":`${l}-mimic-preview`,className:m.BTN_PRIMARY,children:[(0,t.jsx)(n.Sparkles,{size:18,"aria-hidden":"true"}),f("previewCta")]}),(0,t.jsx)("button",{type:"button",onClick:h,className:"mt-4 block w-full cursor-pointer text-sm font-semibold text-[#666666] underline underline-offset-4 transition-colors hover:text-[#121212]",children:f("restart")})]})]})}function f(e){var c;let{turnstileSiteKey:d,defaultPrompt:u="",surface:x="hero"}=e,f=(0,r.useTranslations)("arcads.tool"),[b,p]=(0,a.useState)(u),[g,v]=(0,a.useState)((null==(c=o.ASPECT_RATIOS[0])?void 0:c.value)??"9:16"),[k,N]=(0,a.useState)("idle"),[w,j]=(0,a.useState)(null),[_,A]=(0,a.useState)(null),[T,y]=(0,a.useState)(null),E=(0,a.useRef)(null),R=(0,a.useRef)(null),C=(0,a.useRef)(!1),S=(0,a.useRef)(""),O="queued"===k||"generating"===k,L=(0,a.useCallback)(()=>{C.current=!0,E.current&&clearTimeout(E.current),R.current&&clearTimeout(R.current),E.current=null,R.current=null},[]);(0,a.useEffect)(()=>L,[L]);let $=(0,a.useCallback)(e=>{N("generating"),j(0),C.current=!1;let t=async()=>{try{let a=await fetch(`/api/arcads-generate/${e}`),r=await a.json();if(C.current)return;if(!a.ok){L(),y(f("errors.status")),N("failed"),(0,o.trackEvent)("generate_fail",{reason:"status_error"});return}if(null!=r.progress&&j(r.progress),"succeeded"===r.status&&r.output){L();let e=Array.isArray(r.output)?r.output[0]:r.output;A("string"==typeof e?e:null),N("succeeded"),(0,o.trackEvent)("generate_success",{ratio:g,surface:x});return}if("failed"===r.status){L(),y(f("errors.generic")),N("failed"),(0,o.trackEvent)("generate_fail",{reason:"model_failed"});return}E.current=setTimeout(t,1e3)}catch{if(C.current)return;L(),y(f("errors.network")),N("failed"),(0,o.trackEvent)("generate_fail",{reason:"network"})}};E.current=setTimeout(t,1e3),R.current=setTimeout(()=>{L(),y(f("errors.timeout")),N("failed"),(0,o.trackEvent)("generate_fail",{reason:"timeout"})},9e4)},[L,g,x,f]),U=(0,a.useCallback)(async e=>{try{let t=await fetch("/api/arcads-generate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({prompt:S.current||b.trim(),aspect_ratio:g,turnstileToken:e})}),a=await t.json();if(!t.ok){y(429===t.status?f("errors.rateLimit"):f("errors.generic")),N("failed"),(0,o.trackEvent)("generate_fail",{reason:"submit_error"});return}$(a.predictionId)}catch{y(f("errors.network")),N("failed"),(0,o.trackEvent)("generate_fail",{reason:"network"})}},[b,g,$,f]),F=(0,a.useCallback)(async e=>{await U(e)},[U]),D=(0,a.useCallback)(()=>{y(f("errors.verifyFailed")),N("failed"),(0,o.trackEvent)("generate_fail",{reason:"turnstile_error"})},[f]),I=(0,a.useCallback)(()=>{y(f("errors.verifyExpired")),N("failed"),(0,o.trackEvent)("generate_fail",{reason:"turnstile_expired"})},[f]),{execute:P,reset:M}=(0,l.useTurnstile)({promoTargetUrl:o.PROMO_CTA_TARGET_URL,promoTenant:o.TENANT_SLUG,promoContent:`${x}-generate`,onVerify:F,onError:D,onExpired:I,siteKey:d}),G=(0,a.useMemo)(()=>{switch(k){case"queued":return f("verifying");case"generating":return null!=w?f("generatingProgress",{pct:Math.round(100*w)}):f("generating");case"succeeded":return f("generateAgain");case"failed":return f("tryAgain");default:return f("generate")}},[k,w,f]),z="queued"===k?8:Math.max(12,Math.round((w??0)*100));return(0,t.jsx)("div",{id:o.GENERATE_ANCHOR,className:"relative mx-auto w-full max-w-[840px] scroll-mt-24 text-left",children:(0,t.jsxs)("div",{className:"rounded-[18px] border border-black/10 bg-white p-6 transition-transform hover:-translate-y-0.5 focus-within:border-[#F5A524]",style:{boxShadow:"0 1px 2px rgba(0,0,0,0.05), 0 18px 50px -28px rgba(245,165,36,0.55)"},children:[(0,t.jsx)("label",{htmlFor:"arcads-prompt",className:"mb-3 block font-medium text-[#121212]",children:f("label")}),(0,t.jsx)("textarea",{id:"arcads-prompt",value:b,onChange:e=>p(e.target.value),placeholder:f("placeholder"),disabled:O,maxLength:2e3,rows:3,className:"min-h-[80px] w-full resize-none rounded-lg border border-transparent bg-transparent p-1 font-mono text-base leading-[1.5] text-[#121212] outline-none transition-shadow placeholder:text-[#8B919C] focus:border-[#F5A524]/60 focus:shadow-[0_0_0_4px_rgba(245,165,36,0.18)] disabled:opacity-60"}),(0,t.jsxs)("p",{className:"my-3 flex items-center gap-2 text-sm text-[#666666]",children:[(0,t.jsx)(n.Sparkles,{size:16,"aria-hidden":"true"}),f("productHint")]}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-4 border-t border-black/10 pt-4 sm:flex-row sm:items-end sm:justify-between",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("label",{htmlFor:"arcads-ratio",className:"text-xs uppercase tracking-widest text-[#666666]",children:f("ratioLabel")}),(0,t.jsx)("select",{id:"arcads-ratio",value:g,onChange:e=>
1v(e.target.value),disabled:O,className:"w-fit rounded-lg border border-black/15 bg-white px-3 py-2 text-sm font-semibold text-[#121212] outline-none transition-colors hover:border-[#F5A524] focus:border-[#F5A524] focus:shadow-[0_0_0_4px_rgba(245,165,36,0.18)] disabled:opacity-60",children:o.ASPECT_RATIOS.map(e=>(0,t.jsx)("option",{value:e.value,children:e.value},e.value))}),(0,t.jsx)("span",{className:"text-xs text-[#666666]",children:f("turnstileNote")})]}),(0,t.jsxs)("div",{className:"flex flex-col items-stretch gap-1 sm:items-end",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{let e=b.trim();e?(S.current=e,L(),y(null),A(null),j(null),N("queued"),(0,o.trackEvent)("generate_click",{ratio:g,surface:x}),M(),P()):y(f("errors.emptyPrompt"))},disabled:O,"data-umami-event":"generate_click","data-umami-event-source":o.TENANT_SLUG,"data-umami-event-content":`${x}-generate`,className:m.BTN_PRIMARY,children:[O?(0,t.jsx)(i.Loader2,{size:18,className:"animate-spin","aria-hidden":"true"}):"failed"===k?(0,t.jsx)(s.AlertCircle,{size:18,"aria-hidden":"true"}):(0,t.jsx)(n.Sparkles,{size:18,"aria-hidden":"true"}),(0,t.jsx)("span",{children:G})]}),(0,t.jsx)("span",{className:"text-center text-[10px] text-[#666666] sm:text-right",children:f("freeNote")})]})]}),T&&(0,t.jsxs)("p",{className:"mt-4 flex items-center gap-2 text-sm font-semibold text-[#C0272D]",role:"alert",children:[(0,t.jsx)(s.AlertCircle,{size:16,"aria-hidden":"true"}),T]}),O&&(0,t.jsxs)("div",{className:"mt-4 border-t border-black/10 pt-4",role:"status","aria-live":"polite",children:[(0,t.jsx)("div",{className:"mb-2 h-1 w-full overflow-hidden rounded-sm bg-black/[0.08]",children:(0,t.jsx)("div",{className:"h-full bg-[#F5A524] transition-[width] duration-300 ease-linear",style:{width:`${z}%`}})}),(0,t.jsx)("p",{className:"font-mono text-sm text-[#545454]",children:"queued"===k?f("verifying"):f("generating")})]}),"succeeded"===k&&_&&(0,t.jsx)(h,{creativeUrl:_,surface:x,onRestart:()=>{L(),p(""),A(null),j(null),y(null),N("idle")}})]})})}e.s(["default",()=>f],320070)}]);
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.