1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5543],{66417:function(e,t,a){a.d(t,{GoogleAnalyticsWrapper:function(){return c}});var s=a(57437),r=a(2265),n=a(48667),o=a(99376);const i="G-MJP605Q6WY";function l(){const e=(0,o.usePathname)(),t=(0,o.useSearchParams)();return(0,r.useEffect)((()=>{if(!i||!window.gtag)return;const a=e+((null===t||void 0===t?void 0:t.toString())?"?".concat(t.toString()):"");window.gtag("config",i,{page_path:a})}),[e,t]),i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.default,{src:"https://www.googletagmanager.com/gtag/js?id=".concat(i),strategy:"lazyOnload"}),(0,s.jsx)(n.default,{id:"ga-init",strategy:"lazyOnload",children:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat(i,"');\n ")})]}):null}function c(){return(0,s.jsx)(r.Suspense,{fallback:null,children:(0,s.jsx)(l,{})})}},62947:function(e,t,a){a.d(t,{W:function(){return p}});var s=a(57437),r=a(2265),n=a(42586),o=a(40875),i=a(45072),l=a(11854);const c=a(62627).l,d={en:"us","en-GB":"gb","en-CA":"ca","en-AU":"au","fr-CA":"ca","de-CH":"ch","fr-CH":"ch",zh:"cn","zh-TW":"tw",tr:"tr",cs:"cz",es:"es",fr:"fr",pt:"br",de:"de",jp:"jp",ko:"kr",ar:"sa",it:"it",nl:"nl",pl:"pl",sv:"se",th:"th",vi:"vn",rm:"ch",ru:"ru",hi:"in",id:"id",ms:"my",uk:"ua",bg:"bg",ca:"ad",da:"dk",el:"gr",fi:"fi",he:"il",hr:"hr",hu:"hu",no:"no",ro:"ro",sk:"sk",tl:"ph"},h=e=>{var t;return d[e]||(null===(t=e.split("-")[1])||void 0===t?void 0:t.toLowerCase())||e.toLowerCase()},m=Object.entries(l.Z.i18n.locales).map((e=>{let[t,a]=e;return{code:t,label:a.name,countryCode:h(t).toUpperCase()}})).sort(((e,t)=>{const a=c.indexOf(e.code),s=c.indexOf(t.code),r=-1===a?Number.MAX_SAFE_INTEGER:a,n=-1===s?Number.MAX_SAFE_INTEGER:s;return r!==n?r-n:e.label.localeCompare(t.label)})),u=e=>{let{countryCode:t,className:a,label:r}=e;const n=r||t;return(0,s.jsx)("img",{src:"https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/4x3/".concat(t.toLowerCase(),".svg"),alt:n,title:n,"aria-label":n,className:a||"h-[1.2em] w-[1.2em] shrink-0 inline-block"})};function p(e){let{variant:t="header",tone:a="white",showModal:l=!1,onModalClose:c}=e;const d=(0,n.useLocale)(),[h,p]=(0,r.useState)(!1),g=m.find((e=>e.code===d))||m[0],f="footer"===t,x="header"===t&&"gradient"===a;if("modal"===t)return(0,s.jsx)(i.A,{open:l,onClose:c||(()=>{})});const b=x?"inline-flex h-7 shrink-0 items-center justify-center gap-0.5 rounded-md border border-white/80 bg-white/10 px-1.5 text-xs font-medium text-white transition hover:bg-white/20 disabled:opacity-50 active:scale-[0.98] sm:h-8 sm:gap-1.5 sm:px-3":"inline-flex h-7 shrink-0 items-center justify-center gap-0.5 rounded-md border border-border bg-background/80 px-1.5 text-xs font-medium text-muted-foreground backdrop-blur transition hover:border-primary/70 hover:text-primary disabled:opacity-50 active:scale-[0.98] sm:h-9 sm:gap-1.5 sm:px-3";return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"group relative inline-flex shrink-0 items-center text-sm",children:(0,s.jsxs)("button",{type:"button","aria-expanded":h,"aria-haspopup":"dialog",className:f?"flex items-center gap-1.5 rounded-md px-1 py-0.5 text-sm sm:text-base outline-none transition hover:opacity-80 active:scale-[0.98]":b,onClick:()=>p((e=>!e)),children:[(0,s.jsx)(u,{countryCode:g.countryCode,className:"h-3.5 w-auto shrink-0 rounded-[2px]",label:g.label}),"header"===t?(0,s.jsx)("span",{className:"hidden sm:inline whitespace-nowrap",children:g.label}):(0,s.jsx)("span",{className:"whitespace-nowrap",children:g.label}),(0,s.jsx)(o.Z,{"aria-hidden":"true",className:"shrink-0 transition-transform duration-200 ease-out ".concat(h?"rotate-180":""," ").concat("header"===t?x?"hidden h-3 w-3 text-white/90 sm:inline-block sm:h-3.5 sm:w-3.5":"hidden h-3 w-3 text-muted-foreground sm:inline-block sm:h-3.5 sm:w-3.5":"h-4 w-4 text-white")})]})}),(0,s.jsx)(i.A,{open:h,onClose:()=>{p(!1),null===c||void 0===c||c()}})]})}},47514:function(e,t,a){a.d(t,{default:function(){return v}});var s=a(57437),r=a(43372),n=a(42586),o=a(33145),i=a(62947),l=a(75135),c=a(42351),d=a(47687),h=a(99376),m=a(93448),u=a(11854),p=a(62627);function g(e){let{translationKey:t="home.selectRegion"}=e;const a=(0,n.useLocale)(),o=(0,r.z)(),i=(0,r.dw)(),l=(0,h.useParams)(),c=(0,n.useTranslations)(t),d=(0,p.r)(Object.entries(u.Z.i18n.locales)),g={"en-GB":"gb","en-CA":"ca","en-AU":"au","fr
1-CA":"ca","de-CH":"ch","fr-CH":"ch",en:"us",zh:"cn","zh-TW":"tw",tr:"tr",cs:"cz",es:"es",fr:"fr",pt:"br",de:"de",jp:"jp",ko:"kr",ar:"sa",it:"it",nl:"nl",pl:"pl",sv:"se",th:"th",vi:"vn",rm:"ch",ru:"ru",hi:"in",id:"id",ms:"my",uk:"ua",bg:"bg",ca:"ad",da:"dk",el:"gr",fi:"fi",he:"il",hr:"hr",hu:"hu",no:"no",ro:"ro",sk:"sk",tl:"ph"},f=e=>g[e]||e.toLowerCase();return(0,s.jsx)("section",{className:"bg-white pt-10 pb-14 sm:pt-12 sm:pb-16",children:(0,s.jsx)("div",{className:"mx-auto max-w-6xl px-6 lg:max-w-7xl lg:px-10",children:(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"text-center space-y-2",children:[(0,s.jsx)("h2",{className:"text-2xl font-bold text-slate-800",children:c("title")}),(0,s.jsx)("p",{className:"text-sm text-slate-600",children:c("subtitle")})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-2.5 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6",children:d.map((e=>{let[t,r]=e;const n=a===t;return(0,s.jsxs)("button",{type:"button",onClick:()=>{o.replace({pathname:i,params:l},{locale:t})},className:(0,m.cn)("flex items-center gap-2 rounded-lg border-2 px-3 py-2.5 text-left text-xs sm:text-sm font-medium transition-all","hover:shadow-md hover:-translate-y-0.5",n?"border-brand-teal bg-brand-teal/10 text-brand-teal shadow-sm":"border-slate-200 bg-white text-slate-700 hover:border-brand-teal/50 hover:bg-slate-50"),children:[(0,s.jsx)("img",{src:"https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/4x3/".concat(f(t),".svg"),alt:"".concat(r.name," flag"),title:r.name,loading:"lazy",decoding:"async",style:{width:"1.2em",height:"1.2em",display:"inline-block"},className:"shrink-0"}),(0,s.jsx)("span",{className:"whitespace-nowrap text-xs sm:text-sm",children:r.name})]},t)}))})]})})})}var f=a(20095);const x=[{key:"about",href:"/about"},{key:"pricing",href:"/pricing"},{key:"contact",href:"/contact"},{key:"uploadHistory",href:"/"}],b=[{key:"editStamp",external:!0},{href:"/pdf-to-url",external:!1},{href:"/file-to-url",external:!1},{href:"/art-fight-image-hosting",external:!1}];function w(e){let{ariaHidden:t=!1}=e;return(0,s.jsxs)("div",{className:"flex w-max flex-nowrap items-center gap-1.5 pr-1.5","aria-hidden":t,children:[(0,s.jsx)("a",{href:"https://www.producthunt.com/products/photo-to-url?embed=true&utm_source=badge-featured&utm_medium=badge&utm_campaign=badge-photo-to-url",target:"_blank",rel:"noopener noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1215815&theme=light&t=1785944095481",alt:"Photo To URL - photo to url image free | Product Hunt",width:250,height:54,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://fazier.com/launches/phototourl.com",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://fazier.com/api/v1//public/badges/launch_badges.svg?badge_type=launched&theme=light",width:120,height:28,alt:"Fazier badge",className:"h-6 w-auto opacity-90 hover:opacity-100 transition-opacity shrink-0"})}),(0,s.jsx)("a",{href:"https://fwfw.app/item/photo-to-url",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://fwfw.app/badge-white.svg",width:250,height:54,alt:"Featured on FWFW",className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://showmebest.ai",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://showmebest.ai/badge/feature-badge-dark.webp",width:120,height:28,alt:"Featured on ShowMeBestAI",className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://submitaitools.org",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://submitaitools.org/static_submitaitools/images/submitaitools.png",width:120,height:28,alt:"Submit AI Tools \u2013 The ultimate platform to discover, submit, and explore the best AI tools across various categories.",className:"h-6 w-auto rounded-[10px] shrink-0"})}),(0,s.jsx)("a",{href:"https://twelve.tools",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://twelve.tools/badge0-l
1ight.svg",width:120,height:28,alt:"Featured on Twelve Tools",className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://wired.business",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://wired.business/badge3-dark.svg",alt:"Featured on Wired Business",width:200,height:54,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://frogdr.com/phototourl.com?utm_source=phototourl.com",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://frogdr.com/phototourl.com/badge-white.svg",width:120,height:28,alt:"Monitor your Domain Rating with FrogDR",className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://findly.tools/photo-to-url?utm_source=photo-to-url",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://findly.tools/badges/findly-tools-badge-light.svg",alt:"Featured on findly.tools",width:150,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://goodaitools.com",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://goodaitools.com/assets/images/badge.png",alt:"Good AI Tools",height:54,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://dofollow.tools",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://dofollow.tools/badge/badge_light.svg",alt:"Featured on Dofollow.Tools",width:200,height:54,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://turbo0.com/item/photo-to-url",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://img.turbo0.com/badge-listed-light.svg",alt:"Listed on Turbo0",height:54,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://aiagentsdirectory.com/agent/photo-to-url?utm_source=badge&utm_medium=referral&utm_campaign=free_listing&utm_content=photo-to-url",target:"_blank",rel:"noopener noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://aiagentsdirectory.com/featured-badge.svg?v=2024",alt:"Photo To URL - Featured AI Agent on AI Agents Directory",width:200,height:50,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://aitop10.tools/",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("div",{className:"h-6 px-2 flex items-center justify-center rounded bg-black text-white text-[10px] font-medium whitespace-nowrap shrink-0 leading-none",children:"AiTop10 Tools Directory"})}),(0,s.jsx)("a",{href:"https://dayslaunch.com",target:"_blank",rel:"noopener noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://dayslaunch.com/badages-awards.svg",height:54,alt:"Featured on Days Launch",className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://www.toolpilot.ai",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://www.toolpilot.ai/cdn/shop/files/f-w_690x151_crop_center.png",alt:"Featured on Toolpilot",width:120,height:28,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://toolsfine.com",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://toolsfine.com/wp-content/uploads/2023/08/Toolsfine-logo-day-0531-80x320-1.webp",alt:"Featured on ToolsFine.com",width:80,height:24,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://dang.ai/",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://cdn.prod.website-files.com/63d8afd87da01fb58ea3fbcb/6487e2868c6c8f93b4828827_dang-badge.png",alt:"Dang.ai",width:150,height:54,className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://fwfw.app/item/photo-to-circle-crop",target:"_blank",rel:"noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://fwfw.app/badge-black.svg",width:250,height:54,alt:"Featured on FWFW",className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://www.buildway.cc",target:"_blank",rel:"noopener noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://www.buildway.cc/logo-dark.png",alt:"Listed on BuildWay",className:"h-6 w-auto shrink-0"})}),(0,s.jsx)("a",{href:"https://www.ontoplist.com/software-blogs/",target:"_blank",rel:"noopener noreferrer",className:"inline-block transition-transform hover:scale-105",children:(0,s.jsx)("img",{src:"https://www.ontoplist.com/images/ontoplist31.png?id=69dbb7fa3dbbb",alt:"Software Development Blogs - OnToplist.com",className:"h-6 w-auto shrink-0"})})]})}var v=function(e){let{onHistoryClick:t}=e;const a=(0,n.useTranslations)("common"),h=(0,n.useTranslations)("images"),m=(0,n.useTranslations)("artFight"),u=(0,n.useLocale)(),p=(0,f.a)(u);return(0,s.jsxs)("footer",{children:[(0,s.jsx)(g,{translationKey:"home.selectRegion"}),(0,s.jsxs)("div",{className:"border-t border-white/15 hero-gradient text-white",children:[(0,s.jsx)("div",{className:"mx-auto max-w-6xl px-4 pt-6 pb-2 sm:px-6 lg:px-10 lg:pt-10 lg:pb-3",children:(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-6 md:grid-cols-4 md:gap-12 lg:gap-16",children:[(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)(r.Mc,{href:"/",className:"flex items-center gap-3 group",children:[(0,s.jsx)("div",{className:"relative h-8 w-8 overflow-hidden rounded-md bg-white/10 transition-all duration-300 group-hover:scale-110 group-hover:rotate-12 group-hover:bg-white/20",children:(0,s.jsx)(o.default,{src:"/icons/light_58x58.png",alt:h("logoAlt"),width:32,height:32,className:"h-full w-full object-contain transition-transform duration-300 group-hover:scale-110",unoptimized:!0})}),(0,s.jsx)("div",{className:"text-xl font-semibold text-white transition-colors duration-300 group-hover:text-white/90",children:a("siteName")}
1)]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 pt-2",children:[(0,s.jsx)("a",{href:"https://github.com/phototourl",target:"_blank",rel:"noreferrer",className:"flex h-9 w-9 items-center justify-center rounded-lg bg-white/10 text-white transition-colors hover:bg-white/20","aria-label":"GitHub",children:(0,s.jsx)(l.Z,{className:"h-5 w-5"})}),(0,s.jsx)("a",{href:"https://x.com/phototourl",target:"_blank",rel:"noreferrer",className:"flex h-9 w-9 items-center justify-center rounded-lg bg-white/10 text-white transition-colors hover:bg-white/20","aria-label":"Twitter",children:(0,s.jsx)(c.Z,{className:"h-5 w-5"})}),(0,s.jsx)("a",{href:p,target:"_blank",rel:"noopener noreferrer",className:"flex h-9 w-9 items-center justify-center rounded-lg bg-white/10 text-white transition-colors hover:bg-white/20","aria-label":a("footer.products.editStamp"),children:(0,s.jsx)("img",{src:"/icons/edit-stamp32.png",alt:a("footer.products.editStamp"),width:30,height:30,className:"h-[25px] w-[25px] object-contain"})})]}),(0,s.jsx)(i.W,{variant:"footer"})]}),(0,s.jsxs)("div",{className:"space-y-2.5",children:[(0,s.jsx)("div",{className:"text-sm font-semibold uppercase tracking-wide text-white/80",children:a("footer.linksTitle")}),(0,s.jsx)("div",{className:"flex flex-col gap-2 text-sm text-white/95",children:x.map((e=>"uploadHistory"===e.key?(0,s.jsx)("button",{onClick:t,className:"text-left underline-offset-4 hover:text-white hover:underline",children:a("header.history")},e.key):(0,s.jsx)(r.Mc,{href:e.href,className:"underline-offset-4 hover:text-white hover:underline",onClick:()=>{"/pricing"===e.href&&(0,d.i)({sourceModule:"site_footer",sourceAction:"nav_pricing",toPath:"/pricing"})},children:a("footer.nav.".concat(e.key))},e.key)))})]}),(0,s.jsxs)("div",{className:"space-y-2.5",children:[(0,s.jsx)("div",{className:"text-sm font-semibold uppercase tracking-wide text-white/80",children:a("footer.productsTitle")}),(0,s.jsx)("div",{className:"flex flex-col gap-2 text-sm text-white/95",children:b.map((e=>{if(e.external)return(0,s.jsx)("a",{href:p,target:"_blank",rel:"noopener noreferrer",className:"underline-offset-4 hover:text-white hover:underline break-words",children:a("footer.products.editStamp")},e.key);const t="/art-fight-image-hosting"===e.href?m("footerLink"):"/pdf-to-url"===e.href?a("header.pdfToUrlNav"):"/file-to-url"===e.href?a("header.fileToUrlNav"):"";return(0,s.jsx)(r.Mc,{href:e.href,className:"underline-offset-4 hover:text-white hover:underline break-words",children:t},e.href)}))})]}),(0,s.jsxs)("div",{className:"space-y-2.5",children:[(0,s.jsx)("div",{className:"text-sm font-semibold uppercase tracking-wide text-white/80",children:a("footer.legal.title")}),(0,s.jsxs)("div",{className:"flex flex-col gap-2 text-sm text-white/95",children:[(0,s.jsx)(r.Mc,{href:"/legal/privacy",className:"underline-offset-4 hover:text-white hover:underline",children:a("footer.legal.privacy")}),(0,s.jsx)(r.Mc,{href:"/legal/terms",className:"underline-offset-4 hover:text-white hover:underline",children:a("footer.legal.terms")}),(0,s.jsx)(r.Mc,{href:"/legal/cookie",className:"underline-offset-4 hover:text-white hover:underline",children:a("footer.legal.cookie")})]})]})]})}),(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsx)("div",{className:"px-6 py-4 lg:px-10",children:(0,s.jsxs)("div",{className:"ptu-badge-marquee-track",children:[(0,s.jsx)(w,{}),(0,s.jsx)(w,{ariaHidden:!0})]})})})]}),(0,s.jsx)("div",{className:"border-t border-white/15 hero-gradient text-white",children:(0,s.jsx)("div",{className:"mx-auto flex max-w-6xl items-center justify-center px-6 py-4 text-xs lg:px-10",children:(0,s.jsx)("span",{className:"text-white/90 text-center",children:a("footer.copyright").replace("2025",(new Date).getFullYear().toString())})})})]})}},21132:function(e,t,a){a.d(t,{default:function(){return K}});var s=a(57437),r=a(33145),n=a(99376),o=a(2265),i=a(43372),l=a(42586),c=a(19935),d=a(40519),h=a(36630),m=a(82023),u=a(14938),p=a(48736),g=a(68113),f=a(12805),x=a(29525),b=a(40875),w=a(95252),v=a(71769),j=a(32060),N=a(93448),k=a(47687),y=a(20095);const _=[{hrefKey:"editStamp",icon:c.Z,labelKey:"editStamp",external:!0},{href:"/circle-crop",icon:d.Z,labelKey:"circleCropNav",external:!1}
1,{href:"/rounded-corners",icon:h.Z,labelKey:"roundedCorners",external:!1},{href:"/remove-background",icon:m.Z,labelKey:"removeBackgroundNav",external:!1}];function T(e){let{tone:t="white"}=e;const a=(0,l.useTranslations)("common"),r=(0,l.useLocale)(),n=(0,i.dw)(),[c,d]=(0,o.useState)(!1),h="/"===n||""===n,m="/pdf-to-url"===n||n.startsWith("/pdf-to-url"),T="/file-to-url"===n||n.startsWith("/file-to-url"),C="/art-fight-image-hosting"===n||n.startsWith("/art-fight-image-hosting"),S="/blog"===n||n.startsWith("/blog"),A="/circle-crop"===n||n.startsWith("/circle-crop"),z="/rounded-corners"===n||n.startsWith("/rounded-corners"),F="/remove-background"===n||n.startsWith("/remove-background"),M=A||z||F,Z="/pricing"===n||n.startsWith("/pricing"),W="gradient"===t?"flex items-center justify-center gap-1 whitespace-nowrap rounded-lg border border-transparent text-xs font-medium transition-colors h-7 w-7 sm:h-9 sm:w-auto sm:gap-1.5 sm:px-2 sm:text-sm md:h-10 md:px-2.5 sm:hover:bg-white/20 sm:hover:text-white sm:hover:font-semibold sm:hover:border-transparent":"flex items-center justify-center gap-1 whitespace-nowrap rounded-lg text-xs font-medium transition-colors sm:hover:bg-[#0abab5]/16 sm:hover:text-[#089590] h-7 w-7 sm:h-9 sm:w-auto sm:gap-1.5 sm:px-2 sm:text-sm md:h-10 md:px-2.5 border border-transparent sm:hover:border-[#0abab5]/55",U="gradient"===t?"bg-white/20 text-white font-semibold border-transparent shadow-none":"bg-[#d9f6f5] text-[#0a9f9a] border-[#7ddbd8]",L="gradient"===t?"text-white/85":"text-slate-700";return(0,s.jsxs)("nav",{className:"flex min-w-0 flex-1 items-center justify-between gap-0 px-1 sm:flex-none sm:shrink-0 sm:justify-center sm:gap-1.5 sm:px-0 md:gap-3",children:[(0,s.jsxs)(i.Mc,{href:"/",className:"".concat(W," ").concat(h?U:L),children:[(0,s.jsx)(u.Z,{className:"h-3 w-3 shrink-0 sm:h-4 sm:w-4"}),(0,s.jsx)("span",{dir:"auto",className:"hidden whitespace-nowrap sm:inline",children:a("header.home")})]}),(0,s.jsxs)(i.Mc,{href:"/pdf-to-url",className:"".concat(W," ").concat(m?U:L),children:[(0,s.jsx)(p.Z,{className:"h-3 w-3 shrink-0 sm:h-4 sm:w-4"}),(0,s.jsx)("span",{dir:"auto",className:"hidden whitespace-nowrap normal-case sm:inline",children:a("header.pdfToUrlNav")})]}),(0,s.jsxs)(i.Mc,{href:"/file-to-url",className:"".concat(W," ").concat(T?U:L),children:[(0,s.jsx)(g.Z,{className:"h-3 w-3 shrink-0 sm:h-4 sm:w-4"}),(0,s.jsx)("span",{dir:"auto",className:"hidden whitespace-nowrap normal-case sm:inline",children:a("header.fileToUrlNav")})]}),(0,s.jsxs)(i.Mc,{href:"/art-fight-image-hosting",className:"".concat(W," ").concat(C?U:L),children:[(0,s.jsx)(f.Z,{className:"h-3 w-3 shrink-0 sm:h-4 sm:w-4"}),(0,s.jsx)("span",{dir:"auto",className:"hidden whitespace-nowrap sm:inline",children:a("header.artFightNav")})]}),(0,s.jsxs)(j.h_,{modal:!1,open:c,onOpenChange:d,children:[(0,s.jsxs)(j.$F,{className:(0,N.cn)(W,M?U:L,"!outline-none focus-visible:ring-0 focus-visible:ring-offset-0"),"aria-expanded":c,"aria-haspopup":"menu",children:[(0,s.jsx)(x.Z,{className:"h-3 w-3 shrink-0 sm:h-4 sm:w-4"}),(0,s.jsx)("span",{dir:"auto",className:"hidden whitespace-nowrap sm:inline",children:a("header.tool")}),(0,s.jsx)(b.Z,{className:(0,N.cn)("hidden h-3 w-3 shrink-0 transition-transform duration-200 sm:block sm:h-3.5 sm:w-3.5",c&&"rotate-180"),"aria-hidden":!0})]}),(0,s.jsx)(j.AW,{align:"start",className:"min-w-[11rem] border border-slate-200/80 bg-white/95 shadow-xl backdrop-blur-sm dark:border-slate-700/50 dark:bg-slate-900/95",children:_.map((e=>{const t=(o=e.labelKey,a("editStamp"===o?"footer.products.editStamp":"header.".concat(o)));var o;const l=e.icon;if(e.external){const a=(0,y.a)(r),n=(0,N.cn)("flex w-full items-center gap-2 rounded-sm px-2 py-2 text-sm transition-colors","text-slate-700 hover:bg-[#0abab5]/10 hover:text-[#089590] dark:text-slate-200 dark:hover:bg-brand-teal/10");return(0,s.jsx)(j.Xi,{asChild:!0,className:"cursor-pointer p-0 focus:bg-transparent",children:(0,s.jsxs)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:n,children:[(0,s.jsx)(l,{className:"h-4 w-4 shrink-0"}),(0,s.jsx)("span",{dir:"auto",children:t})]})},e.hrefKey)}const c=(0,N.cn)("flex w-full items-center gap-2 rounded-sm px-2 py-2 text-sm transition-colors",(d=e.href,n===d||n.startsWith("".concat(d,"/"))?"bg-[#d9f6f5] text-[#0a9f9a] dark:bg-brand-teal/15 dark:text-brand-teal":"text-slate-700 hover:bg-[#0abab5]/10 hover:text-[#089590] dark:text-slate-200 dark:hover:bg-brand-teal/10"));var d;return(0,s.jsx)(j.Xi,{asChild:!0,className:"cursor-pointer p-0 focus:bg-transparent",children:(0,s.jsxs)(i.Mc,{href:e.href,className:c,children:[(0,s.jsx)(l,{className:"h-4 w-4 shrink-0"}),(0,s.jsx)("span",{dir:"auto",children:t})]})},e.href)}))})]}),(0,s.jsxs)(i.Mc,{href:"/pricing",className:"".concat(W," ").concat(Z?U:L),onClick:()=>{(0,k.i)({sourceModule:"site_header",sourceAction:"nav_pricing",toPath:"/pricing"})},children:[(0,s.jsx)(w.Z,{className:"h-3 w-3 shrink-0 sm:h-4 sm:w-4"}),(0,s.jsx)("span",{dir:"auto",className:"hidden whitespace-nowrap sm:inline",children:a("header.pricingNav")})]}),(0,s.jsxs)(i.Mc,{href:"/blog",className:"".concat(W," ").concat(S?U:L),children:[(0,s.jsx)(v.Z,{className:"h-3 w-3 shrink-0 sm:h-4 sm:w-4"}),(0,s.jsx)("span",{dir:"auto",className:"hidden whitespace-nowrap sm:inline",children:a("header.blog")})]})]})}var C=a(49489),S=a(98728),A=a(47692),z=a(29090),F=a(37806),M=a(12187),Z=a(53720);function W(e){let{children:t,callbackUrl:a=Z.Z5.Dashboard}=e;const[r,n]=(0,o.useState)(!1),[i,l]=(0,o.useState)(!1);if((0,o.useEffect)((()=>{n(!0)}),[]),!r)return(0,s.jsx)(s.Fragment,{children:t});const c=(0,o.isValidElement)(t)?(0,o.cloneElement)(t,{onClick:e=>{var a,s;null===(a=(s=t.props).onClick)||void 0===a||a.call(s,e),l(!0)}}):(0,s.jsx)("button",{type:"button",onClick:()=>l(!0),children:t});return(0,s.jsxs)(s.Fragment,{children:[c,(0,s.jsx)(M.o,{open:i,onOpenChange:l,callbackUrl:a})]})}var U=a(12381);function L(e){return"/pricing"===e||e.startsWith("/pricing/")?e:"/dashboard"}var P=a(19274);function O(e){let{tone:t="white"}=e;const a=(0,n.usePathname)(),[r,i]=(0,o.useState)(!1);return(0,o.useEffect)((()=>
1{if(!("/"===a||/^\/[a-z]{2}(?:-[A-Z]{2})?$/.test(a||"")))return void i(!0);const e=window.requestIdleCallback;if(e){const t=e((()=>i(!0)),{timeout:1200});return()=>{const e=window.cancelIdleCallback;null===e||void 0===e||e(t)}}const t=window.setTimeout((()=>i(!0)),500);return()=>window.clearTimeout(t)}),[a]),r?(0,s.jsx)(D,{tone:t}):(0,s.jsx)("div",{className:"h-7 min-w-[4.5rem] shrink-0 sm:h-9 sm:min-w-[10rem]","aria-hidden":!0})}function D(e){let{tone:t="white"}=e;const a=(0,l.useTranslations)("common"),r=(0,i.dw)(),{data:n,isPending:c}=P.U.useSession();var d;const h=null!==(d=null===n||void 0===n?void 0:n.user)&&void 0!==d?d:null,[m,p]=(0,o.useState)(!1);(0,o.useEffect)((()=>{c||p(!0)}),[c]);const g=async()=>{await P.U.signOut({fetchOptions:{onSuccess:()=>{window.location.href="/"}}})};if(!m)return(0,s.jsx)("div",{className:"h-7 min-w-[4.5rem] shrink-0 sm:h-9 sm:min-w-[10rem]","aria-hidden":!0});if(h){var f;const e=(null===(f=h.name)||void 0===f?void 0:f.charAt(0).toUpperCase())||"U";var x;return(0,s.jsxs)(j.h_,{modal:!1,children:[(0,s.jsxs)(j.$F,{className:"group flex h-8 items-center gap-2 sm:h-10 sm:rounded-full sm:bg-slate-100/80 sm:px-3 sm:py-1 sm:hover:bg-slate-200/80 sm:dark:bg-slate-800/80 sm:dark:hover:bg-slate-700/80 transition-all duration-200 ease-out !focus:outline-none !focus:ring-0 !focus:ring-offset-0 !focus-visible:outline-none !focus-visible:ring-0 !focus-visible:ring-offset-0",style:{outline:"none",boxShadow:"none"},children:[h.image?(0,s.jsx)("img",{src:h.image,alt:null!==(x=h.name)&&void 0!==x?x:"User",className:"h-7 w-7 rounded-full object-cover ring-2 ring-transparent hover:ring-brand-teal/30 transition-all duration-200 ease-out shrink-0 sm:h-8 sm:w-8"}):(0,s.jsx)("div",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-gradient-to-br from-brand-teal to-emerald-500 text-xs font-medium text-white ring-2 ring-transparent transition-all duration-200 ease-out hover:ring-brand-teal/30 sm:h-8 sm:w-8 sm:text-sm",children:e}),(0,s.jsxs)("div",{className:"hidden sm:flex min-w-0 items-center gap-1.5 shrink-0",children:[(0,s.jsxs)("div",{className:"flex min-w-0 flex-col items-start leading-snug",children:[(0,s.jsx)("span",{className:"max-w-[10rem] truncate text-sm font-medium text-slate-900 dark:text-slate-100",children:h.name}),(0,s.jsx)("span",{className:"max-w-[10rem] truncate text-xs text-slate-500",children:h.email})]}),(0,s.jsx)(b.Z,{className:"h-3.5 w-3.5 shrink-0 text-slate-500 transition-transform duration-200 ease-out group-data-[state=open]:rotate-180"})]})]}),(0,s.jsxs)(j.AW,{align:"end",className:"w-56 shadow-xl backdrop-blur-sm bg-white/95 dark:bg-slate-900/95 border border-slate-200/50 dark:border-slate-700/50 animate-in fade-in-0 zoom-in-95 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2",children:[(0,s.jsx)(j.Xi,{asChild:!0,children:(0,s.jsx)(i.Mc,{href:Z.Z5.Dashboard,className:"cursor-pointer hover:bg-gradient-to-r hover:from-brand-teal/10 hover:to-emerald-500/10 transition-all duration-200 ease-out rounded-md mx-1 [&_span]:hover:text-brand-teal [&_span]:transition-colors [&_span]:duration-200",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg bg-gradient-to-br from-brand-teal/20 to-emerald-500/10 shadow-sm",children:(0,s.jsx)(u.Z,{className:"size-[18px] text-brand-teal transition-transform duration-200 hover:scale-110"})}),(0,s.jsx)("span",{className:"text-slate-700 dark:text-slate-200 font-medium",children:a("header.dashboard")||"Dashboard"})]})})}),(0,s.jsx)(j.Xi,{asChild:!0,children:(0,s.jsx)(i.Mc,{href:Z.Z5.SettingsProfile,className:"cursor-pointer hover:bg-gradient-to-r hover:from-brand-teal/10 hover:to-emerald-500/10 transition-all duration-200 ease-out rounded-md mx-1 [&_span]:hover:text-brand-teal [&_span]:transition-colors [&_span]:duration-200",children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg bg-gradient-to-br from-brand-teal/20 to-emerald-500/10 shadow-sm",children:(0,s.jsx)(S.Z,{className:"size-[18px] text-brand-teal transition-transform duration-200 hover:scale-110"})}),(0,s.jsx)("span",{className:"text-slate-700 dark:text-slate-200 font-medium",children:a("header.settings")})]})})}),(0,s.jsx)(j.VD,{className:"bg-gradient-to-r from-transparent via-slate-200/50 to-transparent dark:via-slate-700/50"}),(0,s.jsx)(j.Xi,{className:"cursor-pointer hover:bg-gradient-to-r hover:from-red-50 hover:to-red-100/50 dark:hover:from-red-900/20 dark:hover:to-red-900/10 transition-all duration-200 ease-out rounded-md mx-1 [&_span]:hover:text-red-600 [&_span]:dark:hover:text-red-300 [&_span]:transition-colors [&_span]:duration-200",onSelect:g,children:(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg bg-red-50 dark:bg-red-900/20 shadow-sm",children:(0,s.jsx)(A.Z,{className:"size-[18px] text-red-500 transition-transform duration-200 hover:scale-110"})}),(0,s.jsx)("span",{className:"text-red-500 font-medium",children:a("header.signOut")||"Sign out"})]})})]})]})}const w="gradient"===t,v="h-7 w-7 shrink-0 gap-1.5 p-0 sm:h-8 sm:w-auto
1sm:px-3";return(0,s.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-3",children:[(0,s.jsx)(W,{callbackUrl:L(r),children:(0,s.jsxs)("button",{type:"button",className:(0,N.cn)("inline-flex cursor-pointer items-center justify-center rounded-[min(var(--radius-md),12px)] text-xs font-medium transition",w?"border border-white/80 bg-white/10 text-white hover:bg-white/20":(0,N.cn)((0,U.d)({variant:"outline",size:"sm"}),"hover:bg-teal-50 hover:text-[#0abab5]"),v),children:[(0,s.jsx)(z.Z,{className:"h-3.5 w-3.5 shrink-0"}),(0,s.jsx)("span",{className:"hidden sm:inline whitespace-nowrap",children:a("header.login")||"Sign in"})]})}),(0,s.jsxs)(i.Mc,{href:Z.Z5.Register,className:(0,N.cn)("inline-flex items-center justify-center rounded-[min(var(--radius-md),12px)] text-xs font-medium transition",w?"border border-white bg-white text-[#0abab5] hover:bg-white/90":(0,N.cn)((0,U.d)({variant:"default",size:"sm"}),"border border-[#0abab5] hover:border-[#09a8a3] hover:bg-[#09a8a3]"),v),children:[(0,s.jsx)(F.Z,{className:"h-3.5 w-3.5 shrink-0"}),(0,s.jsx)("span",{className:"hidden sm:inline whitespace-nowrap",children:a("header.signUp")||"Sign up"})]})]})}var E=a(62947);function I(e){let{tone:t="white"}=e;return(0,s.jsx)(E.W,{variant:"header",tone:t})}function H(e){let{children:t,className:a}=e;return(0,s.jsx)(i.Mc,{href:"/",className:a,children:t})}var B=a(31221);var K=function(e){let{initialTone:t="white"}=e;const a=(0,l.useTranslations)("common"),i=(0,l.useTranslations)("images"),c=(0,n.usePathname)(),[d,h]=(0,o.useState)(t);return(0,o.useLayoutEffect)((()=>{try{const e=(0,B._e)(),t=(0,B.yq)(e);h(t),(0,B.TU)(e)}catch(e){}}),[]),(null===c||void 0===c?void 0:c.startsWith("/dashboard"))||(null===c||void 0===c?void 0:c.startsWith("/settings"))?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("header",{className:"white"===d?"ez-shadow-nav fixed top-0 z-40 w-full border-b border-slate-100 bg-white text-slate-900":"ez-shadow-nav hero-gradient fixed top-0 z-40 w-full border-b border-white/20 text-white",children:(0,s.jsxs)("div",{className:"mx-auto flex h-12 max-w-6xl items-center justify-center gap-1 px-2 sm:h-16 sm:gap-4 sm:px-6",children:[(0,s.jsxs)(H,{className:"group flex shrink-0 items-center gap-0.5 sm:gap-1",children:[(0,s.jsx)("div",{className:"relative h-6 w-6 overflow-hidden rounded-xl transition-all duration-300 group-hover:rotate-6 group-hover:opacity-80 sm:h-10 sm:w-10",children:(0,s.jsx)(r.default,{src:"/icons/light_logo.png",alt:i("logoAlt"),width:58,height:58,className:"h-full w-full object-contain transition-transform duration-300 group-hover:scale-110",priority:!0,unoptimized:!0})}),(0,s.jsx)("span",{className:"white"===d?"text-sm font-semibold text-slate-900 whitespace-nowrap sm:text-lg":"text-sm font-semibold text-white whitespace-nowrap sm:text-lg",children:(0,s.jsx)("span",{className:"hidden sm:inline",children:a("siteName")})})]}),(0,s.jsx)(T,{tone:d}),(0,s.jsx)(C.s,{isLight:"white"===d,appearance:"gradient"===d?"onColor":"light",ariaLabel:"white"===d?"Switch to gradient header":"Switch to white header",onToggle:()=>{const e="white"===d?"gradient":"white";h(e),(0,B.TU)((0,B.w8)(e))}}),(0,s.jsx)(I,{tone:d}),(0,s.jsx)(O,{tone:d})]})}),(0,s.jsx)("div",{className:"h-12 sm:h-16","aria-hidden":"true"})]})}},32060:function(e,t,a){a.d(t,{$F:function(){return i},AW:function(){return l},VD:function(){return d},Xi:function(){return c},h_:function(){return o}});var s=a(57437),r=(a(2265),a(50510)),n=a(93448);function o(e){let{...t}=e;return(0,s.jsx)(r.fC,{"data-slot":"dropdown-menu",...t})}function i(e){let{...t}=e;return(0,s.jsx)(r.xz,{"data-slot":"dropdown-menu-trigger",...t})}function l(e){let{className:t,sideOffset:a=4,...o}=e;return(0,s.jsx)(r.Uv,{children:(0,s.jsx)(r.VY,{"data-slot":"dropdown-menu-content",sideOffset:a,className:(0,n.cn)("bg-[#f0fafa] text-slate-900 dark:bg-[#0d3d3d] dark:text-slate-100 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg p-1 shadow-xl",t),...o})})}function c(e){let{className:t,inset:a,variant:o="default",...i}=e;return(0,s.jsx)(r.ck,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":o,className:(0,n.cn)("data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none ring-0 select-none focus:outline-none focus:ring-0 focus:ring-offset-0 hover:outline-none hover:ring-0 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...i})}function d(e){let{className:t,...a}=e;return(0,s.jsx)(r.Z0,{"data-slot":"dropdown-menu-separator",className:(0,n.cn)("bg-border -mx-1 my-1 h-px",t),...a})}},47687:function(e,t,a){a.d(t,{i:function(){return n}});const s="__ptu_pricing_redirect_last__";function r(){return Date.now()}function n(e){try{const c=window.location;var t,a;const d=null!==(a=null!==(t=e.fromPath)&&void 0!==t?t:null===c||void 0===c?void 0:c.pathname)&&void 0!==a?a:null;var n,o;const h=null!==(o=null!==(n=e.fromUrl)&&void 0!==n?n:null===c||void 0===c?void 0:c.href)&&void 0!==o?o:null;var i;const m=null!==(i=e.toPath)&&void 0!==i?i:"/pricing";var l;const u=null!==(l=e.eventType)&&void 0!==l?l:"navigate_pricing",p=JSON.stringify({eventType:u,fromPath:d,toPath:m,sourceModule:e.sourceModule,sourceAction:e.sourceAction}),g="undefined"!==typeof sessionStorage?sessionStorage.getItem(s):null;if(g){const e=JSON.parse(g);if((null===e||void 0===e?void 0:e.key)===p&&r()-(e.t||0)<3e3)return}"undefined"!==typeof sessionStorage&&sessionStorage.setItem(s,JSON.stringify({key:p,t:r()}));const f=JSON.stringify({eventType:u,fromPath:d,fromUrl:h,toPath:m,sourceModule:e.sourceModule,sourceAction:e.sourceAction,planAtTime:e.planAtTime,meta:e.meta});if("undefined"!==typeof navigator&&"function"===typeof navigator.sendBeacon){const e=new Blob([f],{type:"application/json"});return void navigator.sendBeacon("/api/analytics/pricing-redirect",e)}fetch("/api/analytics/pricing-redirect",{method:"POST",headers:{"content-type":"application/json"},body:f,keepalive:!0}).catch((()=>{}))}catch(c){}}},20095:function(e,t,a){a.d(t,{a:function(){return n}});const s="https://editstamp.com",r="en";function n(e){return e&&e!==r?"".concat(s,"/").concat(e):"".concat(s,"/")}}}]);
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.