PageSourceSearch

https://ecfotos.com/_next/static/chunks/93930-e3cd55a8495d53bf.js

js ecfotos.com collected 2026-10-02 00:06:54 UTC 24,811 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93930],{11632:(e,s,t)=>{t.d(s,{K:()=>w,s:()=>y});var l=t(10366),a=t(74601),r=t(79311),n=t(17832),i=t(25844),o=t(82733),d=t(47326),c=t(43884),x=t(15873),m=t(29316),h=t(87120),u=t(73350),p=t(15300),g=t(8376),f=t(67933),b=t(42625),j=t(16923),v=t(18271),N=t(68718);let w={Brush:l.A,Sparkles:a.A,Image:r.A,Wand:n.A,Layers:i.A,Palette:o.A,Eraser:d.A,MoveDiagonal:c.A,Languages:x.A,BadgeDollarSign:m.A,Megaphone:h.A,Type:u.A,FileText:p.A,CheckCircle:g.A,Camera:f.A,ShoppingBag:b.A,Upload:j.A,Settings:v.A,Download:N.A};function y(e){return w[e]||r.A}},51295:(e,s,t)=>{t.d(s,{PromoBanner:()=>h});var l=t(95155),a=t(12115),r=t(10518),n=t(15599),i=t(25318),o=t(59434),d=t(2700),c=t(6874),x=t.n(c),m=t(70608);function h(e){var s;let{promoCode:t,discount:c}=e,[h,u]=(0,a.useState)(!1),[p,g]=(0,a.useState)(!1),[f,b]=(0,a.useState)(!1),[j,v]=(0,a.useState)(!1),{content:N}=(0,d.useLocaleContent)(),w=null==N||null==(s=N.promo)?void 0:s.promoBanner,{isBannerVisible:y,closeBanner:k}=(0,m.usePromoBanner)();(0,a.useEffect)(()=>{y&&setTimeout(()=>{u(!0)},10)},[y]);let C=async()=>{try{await navigator.clipboard.writeText(t),v(!0),b(!0),setTimeout(()=>{v(!1)},2e3),setTimeout(()=>{b(!1)},3e3)}catch(e){console.error("Failed to copy promo code:",e)}};return y?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:(0,o.cn)("fixed left-0 right-0 top-0 h-12 bg-gradient-to-r from-indigo-500 to-purple-500 transition-all duration-300 ease-out",p&&"-translate-y-full opacity-0",!p&&h&&"translate-y-0 opacity-100",!p&&!h&&"-translate-y-full opacity-0"),style:{zIndex:60},children:(0,l.jsxs)("div",{className:"container mx-auto flex h-full items-center justify-between px-4",children:[(0,l.jsxs)("div",{className:"flex flex-1 items-center justify-center gap-2 text-sm font-medium text-white md:gap-3 md:text-base",children:[(0,l.jsxs)("span",{className:"hidden sm:inline",children:[(null==w?void 0:w.prefix)||"New User Special",":"]}),(0,l.jsx)("span",{className:"font-bold",children:c}),(0,l.jsx)("span",{className:"hidden md:inline",children:"•"}),(0,l.jsxs)("button",{type:"button",onClick:C,className:"group relative flex items-center gap-1.5 rounded-md bg-white/20 px-2 py-1 font-mono text-xs font-semibold transition-all duration-200 hover:bg-white/30 active:scale-95 md:text-sm","aria-label":(null==w?void 0:w.copyTooltip)||"Click to copy",title:(null==w?void 0:w.copyTooltip)||"Click to copy",children:[t,j?(0,l.jsx)(r.A,{className:"h-3 w-3 text-green-300"}):(0,l.jsx)(n.A,{className:"h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}),(0,l.jsx)("span",{className:"hidden md:inline",children:"•"}),(0,l.jsxs)("span",{className:"text-xs text-white/90 md:text-sm",children:[(null==w?void 0:w.expiresText)||"Expires",": ",(null==w?void 0:w.expirationDate)||"December 30, 2025"]}),(0,l.jsx)("span",{className:"hidden md:inline",children:"•"}),(0,l.jsx)(x(),{href:"/pay/pricing",className:"hidden rounded-md bg-white px-3 py-1 text-xs font-semibold text-indigo-600 transition-all duration-200 hover:bg-white/90 active:scale-95 sm:inline-block md:text-sm",children:(null==w?void 0:w.ctaButton)||"Get Started"})]}),(0,l.jsx)("button",{type:"button",className:"ml-4 rounded-full p-1.5 text-white/80 transition-all duration-200 hover:scale-110 hover:bg-white/20 hover:text-white active:scale-95",onClick:()=>{g(!0),setTimeout(()=>{k()},300)},"aria-label":(null==w?void 0:w.closeAriaLabel)||"Close promotional banner",children:(0,l.jsx)(i.A,{className:"h-4 w-4"})})]})}),f&&(0,l.jsx)("div",{className:"fixed left-1/2 top-16 z-[70] -translate-x-1/2 animate-in fade-in slide-in-from-top-2 duration-300",style:{zIndex:70},children:(0,l.jsxs)("div",{className:"flex items-center gap-2 rounded-lg bg-green-600 px-4 py-2 text-sm font-medium text-white shadow-lg",children:[(0,l.jsx)(r.A,{className:"h-4 w-4"}),(0,l.jsx)("span",{children:(null==w?void 0:w.copiedToast)||"Promo code copied!"})]})})]}):null}},53621:(e,s,t)=>{t.d(s,{O:()=>x,g:()=>c});
1var l=t(95155),a=t(66766),r=t(6874),n=t.n(r),i=t(59434),o=t(12115);let d={sm:"w-6 h-6 md:w-8 md:h-8",md:"w-8 h-8 md:w-10 md:h-10",lg:"w-10 h-10 md:w-12 md:h-12",xl:"w-12 h-12 md:w-16 md:h-16"};function c(e){let{asLink:s=!1,className:t,size:r="md",showText:c=!0,showImage:x=!1,variant:m="default",href:h="/"}=e,[u,p]=(0,o.useState)(!1),g="white"===m?"/logo-white.png":"/logo.png",f=e=>{p(!0)},b=()=>(0,l.jsxs)("div",{className:(0,i.cn)("flex items-center",x&&c&&!u&&"space-x-2",s&&"hover:scale-105 active:scale-95 transition-transform",t),children:[x&&!u&&(0,l.jsx)("div",{className:(0,i.cn)("relative",d[r]),children:(0,l.jsx)(a.default,{src:g,alt:"EcFotos Logo",fill:!0,className:"object-contain",priority:!0,onError:f})}),c&&(0,l.jsx)("span",{className:(0,i.cn)("bg-gradient-to-r from-indigo-500 via-purple-500 to-fuchsia-500 bg-clip-text font-bold text-transparent","sm"===r&&"text-lg md:text-xl","md"===r&&"text-xl md:text-2xl","lg"===r&&"text-2xl md:text-3xl","xl"===r&&"text-3xl md:text-4xl"),children:"EcFotos"})]});return s?(0,l.jsx)(n(),{href:h,children:(0,l.jsx)(b,{})}):(0,l.jsx)(b,{})}let x={Navigation:()=>(0,l.jsx)(c,{asLink:!0,showText:!0,showImage:!1,size:"md"}),Footer:()=>(0,l.jsx)(c,{asLink:!0,showText:!0,showImage:!1,size:"sm",variant:"white"}),Hero:()=>(0,l.jsx)(c,{showText:!0,showImage:!1,size:"xl"}),TextOnly:e=>{let{size:s="md"}=e;return(0,l.jsx)(c,{showText:!0,showImage:!1,size:s})},IconOnly:e=>{let{size:s="md"}=e;return(0,l.jsx)(c,{showText:!1,showImage:!0,size:s})}}},70608:(e,s,t)=>{t.d(s,{PromoBannerProvider:()=>i,usePromoBanner:()=>o});var l=t(95155),a=t(12115),r=t(95658);let n=(0,a.createContext)(void 0);function i(e){let{children:s,expirationDate:t=new Date("2025-12-30T24:00:00"),storageKey:i="newuser-2025",height:o=48}=e,[d,c]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if((0,r.lS)(t)||(0,r.Cq)(i))return void c(!1);c(!0)},[t,i]);let x=(0,a.useCallback)(()=>{c(!1),(0,r.JQ)(i)},[i]);return(0,l.jsx)(n.Provider,{value:{isBannerVisible:d,bannerHeight:o,closeBanner:x},children:s})}function o(){let e=(0,a.useContext)(n);if(void 0===e)throw Error("usePromoBanner must be used within a PromoBannerProvider");return e}},90206:(e,s,t)=>{t.d(s,{NG:()=>l.usePromoBanner}),t(51295);var l=t(70608)},93930:(e,s,t)=>{t.d(s,{Navigation:()=>N});var l=t(95155),a=t(12115),r=t(6874),n=t.n(r),i=t(35695),o=t(2749),d=t(43583),c=t(53621),x=t(59434),m=t(79556),h=t(33349),u=t(25318),p=t(28341),g=t(91721),f=t(94361),b=t(2700),j=t(90206),v=t(11632);function N(){var e,s,t,r,N,w,y,k,C,A,T,S,I,D,M,E,F,P,B,L;let z=(0,i.usePathname)(),R=(0,f.lu)(z),{data:G}=(0,o.As)();(0,i.useRouter)();let{content:O}=(0,b.useLocaleContent)({locale:R}),V=null==O?void 0:O.common,U=!1,q=0;try{let e=(0,j.NG)();U=e.isBannerVisible,q=e.bannerHeight}catch(e){}let[W,$]=(0,a.useState)(!1),[_,H]=(0,a.useState)(!1),[J,Q]=(0,a.useState)(!1),[K,X]=(0,a.useState)(!1),[Y,Z]=(0,a.useState)(!1),[ee,es]=(0,a.useState)(!1),et=(0,a.useRef)(null),el=(0,a.useRef)(null),ea=(0,a.useRef)(null),er=(0,a.useRef)(null),en=(0,a.useCallback)(()=>{et.current&&clearTimeout(et.current),el.current&&clearTimeout(el.current),ea.current&&clearTimeout(ea.current),er.current&&clearTimeout(er.current)},[]),ei=(0,a.useCallback)(()=>{en(),X(!1),Z(!1),es(!1),Q(!0)},[en]),eo=(0,a.useCallback)(()=>{en(),Q(!1),Z(!1),es(!1),X(!0)},[en]),ed=(0,a.useCallback)(()=>{en(),Q(!1),X(!1),es(!1),Z(!0)},[en]),ec=(0,a.useCallback)(()=>{en(),Q(!1),X(!1),Z(!1),es(!0)},[en]),ex=(0,a.useCallback)(()=>{en(),et.current=setTimeout(()=>Q(!1),160)},[en]),em=(0,a.useCallback)(()=>{en(),el.current=setTimeout(()=>X(!1),160)},[en]),eh=(0,a.useCallback)(()=>{en(),ea.current=setTimeout(()=>Z(!1),160)},[en]),eu=(0,a.useCallback)(()=>{en(),er.current=setTimeout(()=>es(!1),160)},[en]),ep=(0,a.useCallback)(()=>{en(),Q(e=>!e)},[en]),eg=(0,a.useCallback)(()=>{en(),X(e=>!e)},[en]),ef=(0,a.useCallback)(()=>{en(),Z(e=>!e)},[en]),eb=(0,a.useCallback)(()=>{en(),es(e=>!e)},[en]);(0,a.useEffect)(()=>{let e=()=>{$(window.scrollY>10)};return e(),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,a.useEffect)(()=>{H(!1),Q(!1),X(!1),Z(!1),es(!1),en()},[z,en]),(0,a.useEffect)(()=>()=>en(),[en]);let ej=(0,a.useMemo)(()=>e=>e.startsWith("#")||R===f.Xn?e:(0,f.vA)(e,R),[R]),ev=(0,a.useMemo)(()=>{var e,s,t,l,a,r;let n=(null==V?void 0:V.navigation)||{};return[{label:null!=(e=n.tools)?e:"AI Image Tools",href:"#products",type:"dropdown",dropdownType:"products"},{label:null!=(s=n.freeTools)?s:"Free Tools",href:"#tools",type:"dropdown",dropdownType:"free-tools"},{label:null!=(l=null!=(t=n.aiModels)?t:n.models)?l:"AI Models",href:"#models",type:"dropdown",dropdownType:"ai-models"},{label:null!=(a=n.resources)?a:"Resources",href:"#resources",type:"dropdown",dropdownType:"resources"},{label:null!=(r=n.pricing)?r:"Pricing",href:"/pay/pricing"}]},[V]),eN=(0,a.useMemo)(()=>{let e=null==O?void 0:O.appTools;if(!(null==e?void 0:e.categories))return[];let s=e.categories.flatMap(e=>e.tools||[]).filter(e=>"bulkeditor"!==e.id).map(e=>({label:e.name,description:e.description,href:e.href,icon:e.icon}));return s.unshift({label:"Amazon Compliance Check",description:"Free instant validator",href:"/tools/amazon-image-checker",icon:"CheckCircle"}),s},[O]),ew=(0,a.useMemo)(()=>{var e,s,t;let l=(null==V?void 0:V.navigation)||{};return{imageModels:[{label:null!=(e=l.flux2)?e:"Flux 2",href:"/models/flux",icon:"\uD83C\uDFA8"},{label:"Nano Banana",href:"/models/nano-banana",icon:"\uD83C\uDF4C"},{label:"Z-Image",href:"/models/z-image",icon:"\uD83D\uDCF8"}],videoModels:[{label:null!=(s=l.googleVeo31)?s:"Veo 3.1",href:"/models/google-veo-3-1",icon:"\uD83C\uDFAC"},{label:null!=(t=l.openaiSora2)?t:"Sora 2",href:"/models/openai-sora-2",icon:"\uD83C\uDFA5"}]}},[V]),ey=(0,x.cn)("fixed inset-x-0 z-50 border-b transition-all duration-300 backdrop-blur",W?"bg-white/90 border-slate-200 shadow-sm":"bg-white/80 border-transparent"),ek={top:U?"".concat(q,"px"):"0px"};return(0,l.jsxs)("header",{className:ey,style:ek,children:[(0,l.jsxs)("div",{className:"container mx-auto flex h-20 items-center justify-between px-4 md:h-20",children:[(0,l.jsxs)("div",{className:"flex items-center gap-10",children:[(0,l.jsx)(c.O.Navigation,{}),(0,l.jsx)("nav",{className:"hidden md:flex items-center gap-8 text-sm font-medium text-slate-600",children:ev.map(e=>{if("dropdown"===e.type){let s="products"===e.dropdownType,t="free-tools"===e.dropdownType,a="ai-models"===e.dropdownType,r="resources"===e.dropdownType,i=s?J:t?K:a?Y:ee,o=s?ei:t?eo:a?ed:ec,d=s?ex:t?em:a?eh:eu;return(0,l.jsxs)("div",{className:"relative",onMouseEnter:o,onMouseLeave:d,children:[(0,l.jsxs)("button",{className:"flex items-center gap-1 rounded-full border border-transparent px-3 py-2 text-slate-600 transition hover:border-slate-200 hover:bg-slate-100 hover:text-slate-900",onClick:s?ep:t?eg:a?ef:eb,onFocus:o,onBlur:d,"aria-haspopup":"true","aria-expanded":i,children:[e.label,(0,l.jsx)(m.A,{className:(0,x.cn)("h-4 w-4 transition",i?"-scale-y-100":"")}
1)]}),i&&(0,l.jsxs)("div",{className:(0,x.cn)("absolute left-0 top-full mt-3 rounded-2xl border border-slate-200 bg-white p-5 shadow-2xl overflow-hidden",s?"w-[520px]":a?"w-[420px]":"w-[320px]"),onMouseEnter:o,onMouseLeave:d,children:[s&&(0,l.jsxs)("div",{className:"space-y-5 text-left text-sm",children:[[{title:"Prepare",items:[{label:"Background Remover",icon:"Eraser",href:"/tools/background-remover"},{label:"Brand, Ads, Text Remover",icon:"Type",href:"/tools/remove-text"},{label:"Magic Eraser",icon:"Wand",href:"/tools/magic-eraser"}]},{title:"Enhance",items:[{label:"Image Upscaler",icon:"MoveDiagonal",href:"/tools/image-upscaler"},{label:"Image Translator",icon:"Globe",href:"/tools/image-translator"},{label:"Photo Restoration",icon:"Sparkles",href:"/tools/photo-restoration"},{label:"AI Shadow",icon:"Shadow",href:"/tools/shadow"}]},{title:"Create",items:[{label:"AI Listing Images",icon:"Camera",href:"/tools/ai-listing-images",badge:"New"},{label:"AI Product Photography",icon:"Camera",href:"/tools/product-photography"},{label:"Layered Image Split",icon:"Layers",href:"/tools/qwen-layer"},{label:"Listing Generator",icon:"FileText",href:"/tools/listing-optimization"}]}].map(e=>(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)("div",{className:"px-3 text-xs font-semibold uppercase tracking-wider text-slate-500",children:e.title}),(0,l.jsx)("div",{className:"grid gap-x-4 gap-y-3 sm:grid-cols-2",children:e.items.map(e=>(0,l.jsxs)(n(),{href:ej(e.href),className:"flex items-center gap-3 rounded-xl px-3 py-2 transition hover:bg-slate-50",children:[(0,l.jsx)("span",{className:"text-base",children:"Eraser"===e.icon?"✂️":"Camera"===e.icon?"\uD83D\uDCF7":"MoveDiagonal"===e.icon?"\uD83D\uDD0D":"Globe"===e.icon?"\uD83C\uDF0D":"Type"===e.icon?"\uD83D\uDD24":"Wand"===e.icon?"\uD83E\uDE84":"Sparkles"===e.icon?"✨":"FileText"===e.icon?"\uD83D\uDCDD":"Shadow"===e.icon?"\uD83C\uDF17":"Layers"===e.icon?"\uD83D\uDDC2️":"\uD83D\uDCDA"}),(0,l.jsx)("span",{className:"font-medium text-slate-900",children:e.label}),e.badge&&(0,l.jsx)("span",{className:"ml-auto rounded-full bg-rose-100 px-2 py-0.5 text-[10px] font-semibold text-rose-700",children:e.badge})]},e.href))})]},e.title)),(0,l.jsx)("div",{className:"border-t border-slate-100 pt-2",children:(0,l.jsxs)(n(),{href:ej("/app/tools"),className:"flex items-center gap-3 rounded-xl px-3 py-2 transition hover:bg-slate-50",children:[(0,l.jsx)("span",{className:"text-lg",children:"\uD83D\uDCDA"}),(0,l.jsx)("span",{className:"font-semibold text-slate-900",children:"View all tools"})]})})]}),t&&(0,l.jsxs)("ul",{className:"grid gap-2 text-left text-sm",children:[(0,l.jsx)("li",{className:"px-3 text-xs font-semibold uppercase tracking-wider text-slate-500 mb-2",children:"100% Free Tools"}),(0,l.jsx)("li",{className:"p-3 bg-green-50 rounded-xl border border-green-100 mb-1",children:(0,l.jsxs)(n(),{href:ej("/tools/amazon-image-checker"),className:"block",children:[(0,l.jsxs)("div",{className:"font-bold text-green-900 flex items-center gap-2",children:["✅ Amazon Image Checker ",(0,l.jsx)("span",{className:"text-[10px] bg-green-200 px-1.5 rounded-full",children:"POPULAR"})]}),(0,l.jsx)("div",{className:"text-xs text-green-700 mt-0.5",children:"Validate images meet Amazon requirements"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej("/app"),className:"flex items-center gap-3 px-3 py-2 rounded-xl hover:bg-slate-50",children:[(0,l.jsx)("span",{className:"text-lg",children:"\uD83D\uDCDA"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"font-medium text-slate-900",children:"Bulk Editor"}),(0,l.jsx)("div",{className:"text-xs text-slate-500",children:"Process multiple images at once"})]})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej("/tools/resizer"),className:"flex items-center gap-3 px-3 py-2 rounded-xl hover:bg-slate-50",children:[(0,l.jsx)("span",{className:"text-lg",children:"\uD83D\uDCD0"}),(0,l.jsx)("span",{className:"font-medium text-slate-900",children:"Image Resizer"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej("/tools/dpi"),className:"flex items-center gap-3 px-3 py-2 rounded-xl hover:bg-slate-50",children:[(0,l.jsx)("span",{className:"text-lg",children:"\uD83D\uDDBC️"}),(0,l.jsx)("span",{className:"font-medium text-slate-900",children:"DPI Converter"})]})})]}),a&&(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-8 text-left text-sm min-w-[420px]",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"px-3 text-xs font-semibold uppercase tracking-wider text-slate-500 mb-2",children:"Image Models"}),(0,l.jsx)("ul",{className:"space-y-1",children:ew.imageModels.map(e=>(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej(e.href),className:"flex items-center gap-3 px-3 py-2 rounded-xl hover:bg-slate-50",children:[(0,l.jsx)("span",{className:"text-lg",children:e.icon}),(0,l.jsx)("span",{className:"font-medium text-slate-900",children:e.label})]})},e.href))})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"px-3 text-xs font-semibold uppercase tracking-wider text-slate-500 mb-2",children:"Video Models"}),(0,l.jsx)("ul",{className:"space-y-1",children:ew.videoModels.map(e=>(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej(e.href),className:"flex items-center gap-3 px-3 py-2 rounded-xl hover:bg-slate-50",children:[(0,l.jsx)("span",{className:"text-lg",children:e.icon}),(0,l.jsx)("span",{className:"font-medium text-slate-900",children:e.label})]})},e.href))})]})]}),r&&(0,l.jsxs)("ul",{className:"grid gap-2 text-left text-sm",children:[(0,l.jsx)("li",{className:"px-3 text-xs font-semibold uppercase tracking-wider text-slate-500 mb-2",children:"Resources & Inspiration"}),(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej("/ai-image-prompts"),className:"flex items-center gap-3 px-3 py-2 rounded-xl hover:bg-slate-50 transition-colors",children:[(0,l.jsx)("span",{className:"text-lg",children:"✨"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"font-semibold text-slate-900",children:"AI Image Prompts"}),(0,l.jsx)("div",{className:"text-xs text-slate-500",children:"Global ecommerce & model prompts"})]})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej("/blog"),className:"flex items-center gap-3 px-3 py-2 rounded-xl hover:bg-slate-50 transition-colors",children:[(0,l.jsx)("span",{className:"text-lg",children:"\uD83D\uDCDA"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"font-semibold text-slate-900",children:"Blog"}),(0,l.jsx)("div",{className:"text-xs text-slate-500",children:"Insights, guides & product updates"})]})]})})]})]})]},e.label)}let s=z===e.href;return(0,l.jsx)(n(),{href:ej(e.href),className:(0,x.cn)("transition hover:text-slate-900",s?"text-indigo-600":"text-slate-600"),children:e.label},e.href)})})]}),(0,l.jsx)("div",{className:"hidden items-center gap-3 md:flex",children:G?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n(),{href:ej("/app"),className:"inline-flex h-11 items-center justify-center rounded-full bg-slate-900 px-5 text-sm font-semibold text-white shadow-sm transition hover:bg-slate-800",children:"Create"}),(0,l.jsxs)(d.$n,{variant:"ghost",className:"text-sm text-slate-500 hover:text-red-600",onClick:()=>(0,o.ri)({callbackUrl:"/"}),children:[(0,l.jsx)(h.A,{className:"h-4 w-4"}),null!=(S=null==V||null==(e=V.buttons)?void 0:e.signOut)?S:"Sign out"]})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n(),{href:ej("/account/auth/signin"),className:"text-sm font-semibold text-slate-600 transition hover:text-slate-900",children:null!=(I=null==V||null==(s=V.buttons)?void 0:s.signIn)?I:"Sign In"}),(0,l.jsx)(d.$n,{asChild:!0,className:"h-11 rounded-full bg-gradient-to-r from-indigo-500 to-purple-500 px-6 text-sm font-semibold shadow-lg shadow-indigo-200",children:(0,l.jsx)(n(),{href:ej("/account/auth/signup"),children:null!=(D=null==V||null==(t=V.buttons)?void 0:t.getStartedFree)?D:"Start Free"})})]})}),(0,l.jsx)("button",{className:"md:hidden rounded-full border border-slate-200 p-2 text-slate-600 shadow-sm",onClick:()=>H(e=>!e),"aria-label":"Toggle mobile navigation",children:_?(0,l.jsx)(u.A,{className:"h-5 w-5"}):(0,l.jsx)(p.A,{className:"h-5 w-5"})})]}),_&&(0,l.jsx)("div",{className:"md:hidden border-t border-slate-200 bg-white/95 px-4 pb-6 pt-4 shadow-lg",children:(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsxs)("details",{open:!0,className:"rounded-2xl border border-slate-200 bg-slate-50",children:[(0,l.jsx)("summary",{className:"flex cursor-pointer items-center justify-between px-4 py-3 text-sm font-semibold text-slate-700",children:null!=(M=null==V||null==(r=V.navigation)?void 0:r.tools)?M:"Tools"}),(0,l.jsx)("ul",{className:"space-y-1 px-4 pb-4 text-sm text-slate-600",children:eN.map(e=>{let s=(0,v.s)(e.icon||"");return(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej(e.href),className:"flex items-start gap-3 rounded-xl px-3 py-2 transition hover:bg-white",children:[(0,l.jsx)("div",{className:"flex h-6 w-6 items-center justify-center text-indigo-600",children:(0,l.jsx)(s,{className:"h-5 w-5"})}),(0,l.jsxs)("span",{children:[(0,l.jsx)("span",{className:"block text-sm font-semibold text-slate-900",children:e.label}),(0,l.jsx)("span",{className:"block text-xs text-slate-500",children:e.description})]})]})},e.href)})})]}),(0,l.jsxs)("details",{className:"rounded-2xl border border-slate-200 bg-slate-50",children:[(0,l.jsx)("summary",{className:"flex cursor-pointer items-center justify-between px-4 py-3 text-sm font-semibold text-slate-700",children:null!=(E=null==V||null==(N=V.navigation)?void 0:N.aiModels)?E:"AI Models"}),(0,l.jsxs)("div",{className:"space-y-3 px-4 pb-4",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"mb-2 text-xs font-semibold uppercase tracking-wider text-slate-500",children:"Image Models"}),(0,l.jsx)("ul",{className:"space-y-1",children:ew.imageModels.map(e=>(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej(e.href),className:"flex items-center gap-3 rounded-xl px-3 py-2 transition hover:bg-white",children:[(0,l.jsx)("span",{className:"text-xl",children:e.icon}),(0,l.jsx)("span",{className:"text-sm font-semibold text-slate-900",children:e.label})]})},e.href))})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"mb-2 text-xs font-semibold uppercase tracking-wider text-slate-500",children:"Video Models"}),(0,l.jsx)("ul",{className:"space-y-1",children:ew.videoModels.map(e=>(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej(e.href),className:"flex items-center gap-3 rounded-xl px-3 py-2 transition hover:bg-white",children:[(0,l.jsx)("span",{className:"text-xl",children:e.icon}),(0,l.jsx)("span",{className:"text-sm font-semibold text-slate-900",children:e.label})]})},e.href))})]})]})]}),(0,l.jsxs)("details",{className:"rounded-2xl border border-slate-200 bg-slate-50",children:[(0,l.jsx)("summary",{className:"flex cursor-pointer items-center justify-between px-4 py-3 text-sm font-semibold text-slate-700",children:null!=(F=null==V||null==(w=V.navigation)?void 0:w.resources)?F:"Resources"}),(0,l.jsxs)("ul",{className:"space-y-1 px-4 pb-4 text-sm text-slate-600 font-medium",children:[(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej("/ai-image-prompts"),className:"flex items-center gap-3 rounded-xl px-3 py-3 hover:bg-white transition-colors",children:[(0,l.jsx)("span",{children:"✨"})," AI Prompt Library"]})}),(0,l.jsx)("li",{children:(0,l.jsxs)(n(),{href:ej("/blog"),className:"flex items-center gap-3 rounded-xl px-3 py-3 hover:bg-white transition-colors",children:[(0,l.jsx)("span",{children:"\uD83D\uDCDA"})," Expert Blog"]})})]})]}),ev.filter(e=>"dropdown"!==e.type).map(e=>(0,l.jsx)(n(),{href:ej(e.href),className:"block rounded-2xl border border-slate-200 bg-white px-4 py-3 text-sm font-semibold text-slate-700 shadow-sm",children:e.label},e.href)),(0,l.jsx)("div",{className:"mt-4 space-y-3",children:G?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl border border-slate-200 bg-slate-50 px-4 py-3",children:[(0,l.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-indigo-100 text-indigo-600",children:(0,l.jsx)(g.A,{className:"h-5 w-5"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-sm font-semibold text-slate-800",children:(null==(y=G.user)?void 0:y.name)||(null==(k=G.user)?void 0:k.email)}),(0,l.jsx)("p",{className:"text-xs text-slate-500",children:"EcFotos member"})]})]}),(0,l.jsx)(n(),{href:ej("/app"),className:"block rounded-full bg-slate-900 px-4 py-3 text-center text-sm font-semibold text-white shadow-sm transition hover:bg-slate-800",children:"Create"}),(0,l.jsxs)(d.$n,{variant:"ghost",className:"h-11 w-full rounded-full border border-slate-200 text-sm font-semibold text-red-500",onClick:()=>(0,o.ri)({callbackUrl:"/"}),children:[(0,l.jsx)(h.A,{className:"h-4 w-4"})," ",null!=(P=null==V||null==(C=V.buttons)?void 0:C.signOut)?P:"Sign out"]})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n(),{href:ej("/account/auth/signin"),className:"block rounded-full border border-slate-200 bg-white px-4 py-3 text-center text-sm font-semibold text-slate-700",children:null!=(B=null==V||null==(A=V.buttons)?void 0:A.signIn)?B:"Sign In"}),(0,l.jsx)(d.$n,{asChild:!0,className:"h-12 w-full rounded-full bg-gradient-to-r from-indigo-500 to-purple-500 text-sm font-semibold",children:(0,l.jsx)(n(),{href:ej("/account/auth/signup"),children:null!=(L=null==V||null==(T=V.buttons)?void 0:T.getStartedFree)?L:"Start Free"})})]})})]})})]})}},95658:(e,s,t)=>{t.d(s,{Cq:()=>r,JQ:()=>n,lS:()=>a});let l="promo-banner-";function a(e){return new Date>e}function r(e){try{let s=sessionStorage.getItem("".concat(l).concat(e));return"true"===s}catch(e){return console.warn("Failed to read from sessionStorage:",e),!1}}function n(e){try{sessionStorage.setItem("".concat(l).concat(e),"true")}catch(e){console.warn("Failed to write to sessionStorage:",e)}}}}]);

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.