PageSourceSearch

https://www.svgai.org/_next/static/chunks/1620-9ba8031b03d33110.js?dpl=dpl_CQhZ8Y4EW7frp1M22TRBFWL627Ps

js svgai.org collected 2026-10-04 08:36:17 UTC 38,548 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1620],{6490:(e,s,t)=>{t.d(s,{Accordion:()=>o,AccordionContent:()=>m,AccordionItem:()=>d,AccordionTrigger:()=>c});var a=t(95155),r=t(12115),i=t(23478),n=t(66474),l=t(24026);let o=i.bL,d=r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(i.q7,{ref:t,className:(0,l.cn)("border-b",e),...s}));d.displayName="AccordionItem";let c=r.forwardRef(({className:e,children:s,...t},r)=>(0,a.jsx)(i.Y9,{className:"flex",children:(0,a.jsxs)(i.l9,{ref:r,className:(0,l.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...t,children:[s,(0,a.jsx)(n.A,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));c.displayName=i.l9.displayName;let m=r.forwardRef(({className:e,children:s,...t},r)=>(0,a.jsx)(i.UC,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...t,children:(0,a.jsx)("div",{className:(0,l.cn)("pb-4 pt-0",e),children:s})}));m.displayName=i.UC.displayName},22436:(e,s,t)=>{var a=t(12115),r="function"==typeof Object.is?Object.is:function(e,s){return e===s&&(0!==e||1/e==1/s)||e!=e&&s!=s},i=a.useState,n=a.useEffect,l=a.useLayoutEffect,o=a.useDebugValue;function d(e){var s=e.getSnapshot;e=e.value;try{var t=s();return!r(e,t)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,s){return s()}:function(e,s){var t=s(),a=i({inst:{value:t,getSnapshot:s}}),r=a[0].inst,c=a[1];return l(function(){r.value=t,r.getSnapshot=s,d(r)&&c({inst:r})},[e,t,s]),n(function(){return d(r)&&c({inst:r}),e(function(){d(r)&&c({inst:r})})},[e]),o(t),t};s.useSyncExternalStore=void 0!==a.useSyncExternalStore?a.useSyncExternalStore:c},37777:(e,s,t)=>{t.d(s,{Bc:()=>l,ZI:()=>c,k$:()=>d,m_:()=>o});var a=t(95155),r=t(12115),i=t(89613),n=t(24026);let l=i.Kq,o=i.bL,d=i.l9,c=r.forwardRef(({className:e,sideOffset:s=4,...t},r)=>(0,a.jsx)(i.UC,{ref:r,sideOffset:s,className:(0,n.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 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 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));c.displayName=i.UC.displayName},49033:(e,s,t)=>{e.exports=t(22436)},56332:(e,s,t)=>{t.d(s,{BlogHeaderImage:()=>ep,FooterWrapper:()=>ef,NavbarWrapper:()=>ex});var a=t(95155),r=t(12115),i=t(35695),n=t(6874),l=t.n(n),o=t(97168),d=t(48151),c=t(59556),m=t(69663),h=t(53904),x=t(71539);let f=(0,t(19946).A)("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);var p=t(381),u=t(81497),g=t(81586),j=t(28883),b=t(17951),v=t(34835),N=t(88145),y=t(33168),w=t(84386),F=t(79592);function _(){let{user:e,session:s,signOut:t}=(0,d.A)(),n=(0,i.useRouter)(),{creditInfo:l,refreshCredits:_}=(0,w.I)(),[C,k]=(0,r.useState)(null),[S,A]=(0,r.useState)(0),[G,P]=(0,r.useState)(6),[E,V]=(0,r.useState)(!1),[R,z]=(0,r.useState)(!1),[I,L]=(0,r.useState)(!1),[B,D]=(0,r.useState)(!1),[U,$]=(0,r.useState)(!1),q=(0,y.i7)(),M=(0,r.useCallback)(async()=>{if(!e?.id)return;let{data:s,error:t}=await q.from("profiles").select("subscription_tier, subscription_status, lifetime_credits_used, lifetime_credits_granted, monthly_credits_used, monthly_credits, stripe_customer_id").eq("id",e.id).single();if(s){let t="active"===s.subscription_status;if(V(t),k(t?s.subscription_tier||"starter":null),!t&&s.stripe_customer_id){let{data:s}=await q.from("payment_audit_log").select("id").eq("user_id",e.id).eq("event_type","credit_pack_purchased").limit(1).maybeSingle(),{data:t}=await q.from("subscriptions").select("id").eq("user_id",e.id).limit(1).maybeSingle();D(!!s||!!t)}else D(!1);let{data:a}=await q.from("converter_pro_access").select("status").eq("user_id",e.id).eq("status","active").single();$(!!a),t?(A(s.monthly_credits_used||0),P(s.monthly_credits||100)):(A(s.lifetime_credits_used||0),P(s.lifetime_credits_granted||6))}},[e?.id,q]);if((0,r.useEffect)(()=>{l&&(A(l.creditsUsed),P(l.creditLimit),V(l.isSubscribed),k(l.isSubscribed?l.subscriptionTier||"starter":null))},[l]),(0,r.useEffect)(()=>
1{if(!e?.id)return;l||M();let s=setTimeout(()=>{l||M()},500),t=q.channel("profile-updates").on("postgres_changes",{event:"UPDATE",schema:"public",table:"profiles",filter:`id=eq.${e?.id}`},e=>{let s=e.new;if(s){let e="active"===s.subscription_status;V(e),k(e?s.subscription_tier||"starter":null),e?(A(s.monthly_credits_used||0),P(s.monthly_credits||100)):(A(s.lifetime_credits_used||0),P(s.lifetime_credits_granted||6))}}).subscribe(),a=setInterval(()=>{("undefined"==typeof document||"hidden"!==document.visibilityState)&&M()},6e4);return()=>{t.unsubscribe(),clearInterval(a),clearTimeout(s)}},[e?.id,M,q,l]),(0,r.useEffect)(()=>{let s=()=>{e?.id&&M()},t=document.querySelector('[aria-haspopup="menu"]');return t?.addEventListener("click",s),()=>{t?.removeEventListener("click",s)}},[e?.id,M]),!s)return null;let T=e?.email,H=T?T[0]?.toUpperCase()||"U":"??",O=async()=>{await t(),n.push("/")},Z=async()=>{z(!0);try{let e=await fetch("/api/create-portal-session",{method:"POST"});if(!e.ok){let s=await e.json();throw Error(s.error||"Failed to open billing portal")}let{url:s}=await e.json();if(s)window.location.href=s;else throw Error("No portal URL returned")}catch(e){console.error("Portal error:",e)}finally{z(!1)}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c.rI,{modal:!1,children:[(0,a.jsx)(c.ty,{asChild:!0,children:(0,a.jsx)(o.$,{variant:"ghost",className:`relative h-8 w-8 rounded-full hover:bg-gray-100 ${"pro"===C?"ring-2 ring-purple-400 ring-offset-1":C?"ring-2 ring-blue-400 ring-offset-1":""}`,onClick:()=>_(),children:(0,a.jsx)(m.eu,{className:"h-8 w-8",children:(0,a.jsx)(m.q5,{className:"text-sm",children:H})})})}),(0,a.jsxs)(c.SQ,{className:"w-64",align:"end",alignOffset:-5,sideOffset:5,collisionPadding:10,forceMount:!0,children:[(0,a.jsx)(c.lp,{className:"font-normal pb-3",children:(0,a.jsxs)("div",{className:"flex flex-col space-y-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-gray-900",children:"Account"}),C?(0,a.jsx)(N.E,{variant:"outline",className:`text-xs px-2 py-0.5 border ${"pro"===C?"bg-gradient-to-r from-purple-50 to-purple-100 border-purple-300 text-purple-700 font-semibold":"bg-gradient-to-r from-blue-50 to-blue-100 border-blue-300 text-blue-700 font-semibold"}`,children:"pro"===C?"Pro":"Starter"}):(0,a.jsx)(N.E,{variant:"outline",className:"text-xs px-2 py-0.5 bg-gray-50 border-gray-300 text-gray-600",children:"Free"})]}),(0,a.jsx)("p",{className:"text-xs text-gray-500 truncate",children:T||"No email"})]}),(0,a.jsxs)("div",{className:"bg-gray-50 rounded-lg px-3 py-2 border border-gray-200",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-gray-500",children:"Total Credits"}),(0,a.jsx)("span",{className:"text-sm font-semibold text-gray-900",children:l?.creditsRemaining||0})]}),l?.isSubscribed&&l?.lifetimeCreditsRemaining!==void 0&&l?.lifetimeCreditsRemaining>0&&(0,a.jsxs)("div",{className:"mt-2 pt-2 border-t border-gray-200 space-y-1",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between text-xs",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1.5 text-gray-500",children:[(0,a.jsx)(h.A,{className:"w-3 h-3"}),"Monthly (renews)"]}),(0,a.jsx)("span",{className:"font-medium text-gray-700",children:l.monthlyCreditsRemaining})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between text-xs",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1.5 text-gray-500",children:[(0,a.jsx)(x.A,{className:"w-3 h-3"}),"Pack (never expires)"]}),(0,a.jsx)("span",{className:"font-medium text-gray-700",children:l.lifetimeCreditsRemaining})]})]})]})]})}),(0,a.jsx)(c.mB,{}),(0,a.jsxs)(c._2,{onClick:()=>n.push("/dashboard"),children:[(0,a.jsx)(f,{className:"mr-2 h-4 w-4"}),"Dashboard"]}),(0,a.jsxs)(c._2,{onClick:()=>n.push("/settings"),children:[(0,a.jsx)(p.A,{className:"mr-2 h-4 w-4"}),"Settings"]}),!l?.hasOnlyFreeCredits&&(0,a.jsxs)(c._2,{onSelect:()=>L(!0),children:[(0,a.jsx)(u.A,{className:"mr-2 h-4 w-4"}),"Send Feedback"]}),C?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.mB,{}),(0,a.jsxs)(c._2,{onClick:Z,disabled:R,children:[(0,a.jsx)(g.A,{className:"mr-2 h-4 w-4"}),R?"Loading...":"Manage Subscription"]}),(0,a.jsxs)(c._2,{onClick:()=>n.push("/contact?subject=Support Request"),children:[(0,a.jsx)(j.A,{className:"mr-2 h-4 w-4"}),(0,a.jsxs)("span",{className:"flex flex-col",children:[(0,a.jsx)("span",{children:"Contact Support"}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:"Get help from our team"})]})]})]}):U?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.mB,{}),(0,a.jsxs)(c._2,{onClick:Z,disabled:R,children:[(0,a.jsx)(g.A,{className:"mr-2 h-4 w-4"}),R?"Loading...":"Manage Subscription"]}),(0,a.jsxs)(c._2,{onClick:()=>n.push("/pricing"),className:"text-[#FF7043]",children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"Upgrade to Pro"]})]}):B?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.mB,{}),(0,a.jsxs)(c._2,{onClick:Z,disabled:R,children:[(0,a.jsx)(g.A,{className:"mr-2 h-4 w-4"}),R?"Loading...":"Billing & Invoices"]}),(0,a.jsxs)(c._2,{onClick:()=>n.push("/pricing"),className:"text-[#FF7043]",children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"Upgrade to Pro"]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.mB,{}),(0,a.jsxs)(c._2,{onClick:()=>n.push("/pricing"),className:"text-[#FF7043]",children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"Upgrade to Pro"]})]}),(0,a.jsx)(c.mB,{}),(0,a.jsxs)(c._2,{onClick:O,children:[(0,a.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Log out"]})]})]}),(0,a.jsx)(F.A,{open:I,onOpenChange:L})]})}var C=t(23518),k=t(29621),S=t(23837),A=t(53311),G=t(41066),P=t(66474),E=t(74783),V=t(86424),R=t(90802),z=t(15452),I=t(74466),L=t(54416),B=t(24026);let D=z.bL,U=z.l9;z.bm;let $=z.ZL,q=r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(z.hJ,{className:(0,B.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...s,ref:t}));q.displayName=z.hJ.displayName;let M=(0,I.F)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),T=r.forwardRef(({side:e="right",className:s,children:t,...r},i)=>(0,a.jsxs)($,{children:[(0,a.jsx)(q,{}),(0,a.jsxs)(z.UC,{ref:i,className:(0,B.cn)(M({side:e}),s),...r,children:[t,(0,a.jsxs)(z.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,a.jsx)(L.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));T.displayName=z.UC.displayName;let H=({className:e,...s})=>(0,a.jsx)("div",{className:(0,B.cn)("flex flex-col space-y-2 text-center sm:text-left",e),...s});H.displayName="SheetHeader";let O=r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(z.hE,{ref:t,className:(0,B.cn)("text-lg font-semibold text-foreground",e),...s}));O.displayName=z.hE.displayName,r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(z.VY,{ref:t,className:(0,B.cn)("text-sm text-muted-foreground",e),...s})).displayName=z.VY.displayName;var Z=t(6490),W=t(46248);let Y=r.forwardRef(({className:e,children:s,...t},r)=>(0,a.jsxs)(W.bL,{ref:r,className:(0,B.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...t,children:[s,(0,a.jsx)(es,{})]}));Y.displayName=W.bL.displayName;let J=r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(W.B8,{ref:t,className:(0,B.cn)("group flex flex-1 list-none items-center justify-center space-x-1",e),...s}));J.displayName=W.B8.displayName;let K=W.q7,Q=(0,I.F)("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),X=r.forwardRef(({className:e,children:s,...t},r)=>(0,a.jsxs)(W.l9,{ref:r,className:(0,B.cn)(Q(),"group",e),...t,children:[s," ",(0,a.jsx)(P.A,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));X.displayName=W.l9.displayName;let ee=r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(W.UC,{ref:t,className:(0,B.cn)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",e),...s}));ee.displayName=W.UC.displayName,W.N_;let es=r.forwardRef(({className:e,...s},t)=>(0,a.jsx)("div",{className:(0,B.cn)("absolute left-0 top-full flex justify-center"),children:(0,a.jsx)(W.LM,{className:(0,B.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:t,...s})}));es.displayName=W.LM.displayName,r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(W.C1,{ref:t,className:(0,B.cn)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...s,children:(0,a.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})).displayName=W.C1.displayName;var et=t(37777);let ea=[{href:"/tools",label:"Tools",key:"tools",hasDropdown:!0},{href:"/pricing",label:"Pricing",key:"pricing"},{href:"/blog",label:"Blog",key:"blog"},{href:"/docs",label:"API",key:"api"}],er=[{title:"SVG Editor",href:"/tools/svg-editor",icon:k.A,badge:"Free",description:"Edit SVG code with live preview"},{title:"SVG Optimizer",href:"/tools/svg-optimizer",icon:S.A,badge:"Free",description:"Reduce file size without quality loss"},{title:"Animation Tool",href:"/animate",icon:A.A,badge:"Free",description:"Create CSS animations for SVGs"},{title:"SVG to Video",href:"/tools/svg-to-video",icon:G.A,badge:"Premium",description:"AI transforms SVGs into dynamic videos"}];function ei(){let{session:e}=(0,d.A)(),{creditInfo:s,loading:t}=(0,w.I)(),n=(0,i.usePathname)()||"",c="/"===n||""===n,[m,h]=(0,r.useState)(!1),[x,p]=(0,r.useState)(null),[u,g]=(0,r.useState)(!0),[j,b]=(0,r.useState)(!1),v=(0,y.i7)(),F=c&&!e,k=(0,r.useMemo)(()=>{let s=ea.map(s=>"api"===s.key&&e?{...s,href:"/dashboard/api"}:s);return F?s.filter(e=>"pricing"!==e.key):s},[F,e]),S=(0,r.useCallback)(s=>
1{c&&(window.dispatchEvent(new CustomEvent("svgai:homepage-activity",{detail:{type:"nav_pricing_clicked"}})),(0,V.trackPostHogEvent)(R.nN.HOMEPAGE_NAV_PRICING_CLICKED,{...(0,R.fQ)(),...(0,R.gX)(),acquisition_flow_id:(0,R.Ay)()||(0,R.iy)(),nav_surface:s,is_authenticated:!!e,hide_homepage_pricing_nav_for_anon:F}))},[F,c,e]);return(0,r.useEffect)(()=>{(async()=>{if(e?.user?.id){let{data:s}=await v.from("profiles").select("subscription_status, subscription_tier").eq("id",e.user.id).single();h(s?.subscription_status==="active"),p(s?.subscription_tier||null)}g(!1)})()},[e,v]),(0,a.jsx)("header",{className:"sticky top-0 z-40 w-full border-b bg-gradient-to-b from-white/95 to-white/85 backdrop-blur-md shadow-sm",children:(0,a.jsxs)("div",{className:"mx-auto flex h-16 w-full max-w-[1680px] items-center justify-between px-5 py-2 sm:h-20 sm:px-8 xl:px-14 min-[2200px]:max-w-[2200px] min-[2200px]:px-16 min-[3200px]:max-w-[2500px] [@media_(max-height:430px)_and_(orientation:landscape)]:!h-16",children:[(0,a.jsxs)(l(),{href:"/",className:"flex items-center -ml-1 sm:-ml-2","aria-label":"SVG AI Home",children:[(0,a.jsx)("div",{className:"sm:hidden",children:(0,a.jsx)(C.F,{width:94,height:30})}),(0,a.jsx)("div",{className:"hidden sm:block",children:(0,a.jsx)(C.F,{width:150,height:46})})]}),(0,a.jsx)(et.Bc,{children:(0,a.jsx)(Y,{className:"hidden md:flex",children:(0,a.jsx)(J,{className:"gap-2",children:k.map(e=>e.hasDropdown?(0,a.jsxs)(K,{children:[(0,a.jsx)(X,{className:"text-sm font-medium hover:bg-[#FF7043]/10 hover:text-[#FF7043] data-[state=open]:bg-[#FF7043]/10 data-[state=open]:text-[#FF7043]",children:e.label}),(0,a.jsx)(ee,{children:(0,a.jsx)("div",{className:"w-[400px] p-4",children:(0,a.jsxs)("div",{className:"space-y-2",children:[er.map(e=>(0,a.jsxs)(l(),{href:e.href,className:"flex items-start gap-3 p-3 hover:bg-[#FF7043]/5 rounded-md transition-colors",children:[(0,a.jsx)(e.icon,{className:"w-5 h-5 text-muted-foreground mt-0.5"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-medium text-sm",children:e.title}),(0,a.jsx)(N.E,{variant:"Premium"===e.badge?"default":"secondary",className:"Premium"===e.badge?"bg-gradient-to-r from-[#FF7043] to-[#FFA726] border-0":"bg-green-500/10 border-green-500 text-green-700 font-medium",children:e.badge})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:e.description})]})]},e.href)),(0,a.jsxs)("div",{className:"pt-2 mt-2 border-t",children:[(0,a.jsxs)(l(),{href:"/convert",className:"text-sm text-primary hover:underline flex items-center gap-1 font-medium",children:["\uD83D\uDD04 All Format Converters",(0,a.jsx)(P.A,{className:"w-3 h-3 rotate-[-90deg]"})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"PNG to SVG, JPG to SVG, SVG to PNG & 40+ formats"})]})]})})})]},e.key):"isExternal"in e&&e.isExternal?(0,a.jsx)(K,{children:(0,a.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-9 px-4 py-2 items-center justify-center rounded-md text-sm font-medium hover:bg-[#FF7043]/10 hover:text-[#FF7043] transition-colors",children:e.label})},e.key):(0,a.jsx)(K,{children:(0,a.jsx)(l(),{href:e.href,onClick:()=>{"pricing"===e.key&&S("desktop_nav")},className:`inline-flex h-9 px-4 py-2 items-center justify-center rounded-md text-sm font-medium hover:bg-[#FF7043]/10 hover:text-[#FF7043] transition-colors ${n===e.href?"bg-[#FF7043]/10 text-[#FF7043]":""}`,children:e.label})},e.key))})})}),(0,a.jsxs)("div",{className:"flex items-center gap-1 sm:gap-3",children:["/dashboard"!==n&&!c&&"/login"!==n&&"/signup"!==n&&"/results"!==n&&"/pricing"!==n&&(0,a.jsx)(et.Bc,{children:(0,a.jsxs)(et.m_,{children:[(0,a.jsx)(et.k$,{asChild:!0,children:(0,a.jsx)(o.$,{size:"sm",asChild:!0,variant:"ghost",className:"!bg-gradient-to-r from-[#FF7043] to-[#FFA726] hover:opacity-90 !text-white hover:!text-white border-0 shadow-sm [&>*]:!text-white !font-medium px-2 sm:px-4",children:(0,a.jsxs)(l(),{href:"/",className:"!text-white",children:[(0,a.jsx)(A.A,{className:"w-4 h-4 mr-1 sm:mr-1.5"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Generate SVG"}),(0,a.jsx)("span",{className:"sm:hidden",children:"Generate"})]})})}),(0,a.jsxs)(et.ZI,{children:[(0,a.jsx)("p",{className:"font-medium",children:"Create custom SVG images with AI"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"From text descriptions • No upload needed"})]})]})}),e&&"/dashboard"!==n&&(0,a.jsxs)(l(),{href:"/dashboard",className:"hidden md:flex items-center gap-1.5 text-sm font-medium text-gray-600 hover:text-gray-900 transition-colors",children:[(0,a.jsx)(f,{className:"h-4 w-4"}),"Dashboard"]}),!e&&(0,a.jsxs)(a.Fragment,{children:["/login"!==n&&"/signup"!==n&&(0,a.jsx)(o.$,{size:"sm",variant:"ghost",asChild:!0,className:"hidden sm:inline-flex hover:bg-gray-100/50",children:(0,a.jsx)(l(),{href:"/login",children:"Login"})}),"/signup"===n&&(0,a.jsx)(o.$,{size:"sm",variant:"ghost",asChild:!0,className:"hidden sm:inline-flex hover:bg-gray-100/50",children:(0,a.jsx)(l(),{href:"/login",children:"Login"})}),(c||"/login"===n||"/pricing"===n)&&(0,a.jsx)(o.$,{size:"sm",asChild:!0,variant:"ghost",className:c?"hidden sm:inline-flex !bg-transparent !text-slate-700 hover:!bg-gray-100/50 hover:!text-slate-900 !shadow-none border-0":"hidden sm:inline-flex !bg-gradient-to-r from-[#FF7043] to-[#FFA726] hover:opacity-90 !text-white hover:!text-white border-0 shadow-sm [&>*]:!text-white !font-medium",children:(0,a.jsx)(l(),{href:"/signup",className:c?"!text-slate-700 hover:!text-slate-900":"!text-white",children:"Sign Up"})})]}),e&&(0,a.jsxs)(a.Fragment,{children:[!t&&s&&!m&&0===s.creditsRemaining&&0===s.lifetimeCreditsRemaining&&"/results"!==n&&"/pricing"!==n&&(0,a.jsx)(o.$,{size:"sm",asChild:!0,className:"h-8 text-sm bg-gradient-to-r from-orange-500 to-orange-600 !text-white hover:!text-white border-0 shadow-sm hover:from-orange-600 hover:to-orange-700 transition-all duration-200 [&>*]:!text-white",children:(0,a.jsxs)(l(),{href:"/pricing",className:"!text-white",children:[(0,a.jsx)(A.A,{className:"w-3 h-3 mr-1 !text-white"}),(0,a.jsx)("span",{className:"!text-white",children:"Get Credits"})]})}),(0,a.jsx)("div",{className:"hidden md:block h-8 w-px bg-gray-200"})]}),(0,a.jsx)(_,{}),(0,a.jsxs)(D,{open:j,onOpenChange:b,children:[(0,a.jsx)(U,{asChild:!0,className:"md:hidden",children:(0,a.jsxs)(o.$,{variant:"outline",size:"icon",className:"ml-2",children:[(0,a.jsx)(E.A,{className:"h-5 w-5"}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle menu"})]})}),(0,a.jsxs)(T,{side:"right",className:"w-[300px] sm:w-[400px]",children:[(0,a.jsx)(H,{children:(0,a.jsx)(O,{children:"Navigation"})}),(0,a.jsxs)("div",{className:"mt-6 flex flex-col gap-4",children:[(0,a.jsxs)("nav",{className:"flex flex-col space-y-1",children:["/dashboard"!==n&&!c&&"/login"!==n&&"/signup"!==n&&"/results"!==n&&(0,a.jsxs)(l(),{href:"/",onClick:()=>b(!1),className:"py-3 px-2 text-base font-medium bg-gradient-to-r from-[#FF7043] to-[#FFA726] text-white rounded-md transition-opacity hover:opacity-90 mb-2",children:[(0,a.jsx)(A.A,{className:"w-4 h-4 inline mr-2"}),"Generate SVG"]}),k.map(e=>e.hasDropdown?(0,a.jsx)(Z.Accordion,{type:"single",collapsible:!0,className:"border-0",children:(0,a.jsxs)(Z.AccordionItem,{value:"tools",className:"border-0",children:[(0,a.jsx)(Z.AccordionTrigger,{className:"py-3 hover:no-underline",children:(0,a.jsx)("span",{className:`text-base font-medium ${n===e.href?"text-primary":"text-foreground"}`,children:e.label})}),(0,a.jsx)(Z.AccordionContent,{children:(0,a.jsxs)("div",{className:"pl-4 space-y-2",children:[er.map(e=>(0,a.jsxs)(l(),{href:e.href,onClick:()=>b(!1),className:"flex items-start gap-3 py-2 hover:bg-[#FF7043]/5 rounded-md px-2 transition-colors",children:[(0,a.jsx)(e.icon,{className:"w-5 h-5 text-muted-foreground mt-0.5"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-medium text-sm",children:e.title}),(0,a.jsx)(N.E,{variant:"Premium"===e.badge?"default":"secondary",className:"Premium"===e.badge?"bg-gradient-to-r from-[#FF7043] to-[#FFA726] border-0 text-white":"bg-green-500/10 border-green-500 text-green-700 font-medium",children:e.badge})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:e.description})]})]},e.href)),(0,a.jsxs)("div",{className:"pt-2 mt-2 border-t",children:[(0,a.jsxs)(l(),{href:"/convert",onClick:()=>b(!1),className:"text-sm text-primary hover:underline flex items-center gap-1 py-2 px-2 font-medium",children:["\uD83D\uDD04 All Format Converters",(0,a.jsx)(P.A,{className:"w-3 h-3 rotate-[-90deg]"})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground px-2 mt-1",children:"PNG to SVG, JPG to SVG, SVG to PNG & 40+ formats"})]})]})})]})}
1,e.key):"isExternal"in e&&e.isExternal?(0,a.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:()=>b(!1),className:"py-3 px-2 text-base font-medium hover:bg-[#FF7043]/10 hover:text-[#FF7043] rounded-md transition-colors text-foreground",children:e.label},e.key):(0,a.jsx)(l(),{href:e.href,onClick:()=>{"pricing"===e.key&&S("mobile_nav"),b(!1)},className:`py-3 px-2 text-base font-medium hover:bg-[#FF7043]/10 hover:text-[#FF7043] rounded-md transition-colors ${n===e.href?"text-[#FF7043] bg-[#FF7043]/10":"text-foreground"}`,children:e.label},e.key))]}),(0,a.jsxs)("div",{className:"pt-4 border-t space-y-3",children:[e&&"/dashboard"!==n&&(0,a.jsxs)(l(),{href:"/dashboard",className:"flex items-center gap-2 py-3 px-3 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 rounded-lg transition-colors",onClick:()=>b(!1),children:[(0,a.jsx)(f,{className:"h-5 w-5"}),"Dashboard"]}),!e&&(0,a.jsxs)(a.Fragment,{children:["/login"!==n&&"/signup"!==n&&(0,a.jsx)(o.$,{variant:"ghost",asChild:!0,className:"w-full hover:bg-gray-100/50",onClick:()=>b(!1),children:(0,a.jsx)(l(),{href:"/login",children:"Login"})}),"/signup"===n&&(0,a.jsx)(o.$,{variant:"ghost",asChild:!0,className:"w-full hover:bg-gray-100/50",onClick:()=>b(!1),children:(0,a.jsx)(l(),{href:"/login",children:"Login"})}),(c||"/login"===n)&&(0,a.jsx)(o.$,{asChild:!0,variant:"ghost",className:c?"w-full !bg-transparent !text-slate-700 hover:!bg-gray-100/50 hover:!text-slate-900 border-0":"w-full !bg-gradient-to-r from-[#FF7043] to-[#FFA726] hover:opacity-90 !text-white hover:!text-white border-0 [&>*]:!text-white !font-medium",onClick:()=>b(!1),children:(0,a.jsx)(l(),{href:"/signup",className:c?"!text-slate-700 hover:!text-slate-900":"!text-white",children:"Sign Up"})})]})]})]})]})]})]})]})})}var en=t(48034),el=t(77808);function eo(){let{trending:e}=(0,en.Zk)(6);return(0,a.jsx)("footer",{className:"border-t border-slate-200 bg-white",children:(0,a.jsxs)("div",{className:"container py-12",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-5 gap-8",children:[(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)(C.F,{}),(0,a.jsx)("p",{className:"text-sm text-slate-600 leading-relaxed",children:"SVG AI helps you create professional vector graphics from text prompts, including logos, icons, illustrations, and text-to-SVG designs."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-bold text-slate-900 mb-4",children:"Product"}),(0,a.jsxs)("ul",{className:"space-y-2",children:[(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/",className:"text-sm text-slate-600 hover:text-primary transition-colors",children:"AI SVG Generator"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/ai-icon-generator",className:"text-sm text-secondary/70 hover:text-primary",children:"AI Icon Generator"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/tools/svg-to-video",className:"text-sm text-secondary/70 hover:text-primary",children:"SVG to MP4 Converter"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/pricing",className:"text-sm text-secondary/70 hover:text-primary",children:"Pricing"})}),!1]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-semibold text-secondary mb-4",children:"Popular Converters"}),(0,a.jsxs)("ul",{className:"space-y-2",children:[e.slice(0,5).map(e=>(0,a.jsx)("li",{children:(0,a.jsxs)(l(),{href:`/convert/${e.urlSlug}`,className:"text-sm text-secondary/70 hover:text-primary",children:[e.fromFormat," to ",e.toFormat]})},e.id)),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/convert",className:"text-sm text-secondary/70 hover:text-primary font-medium",children:"View All →"})})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-semibold text-secondary mb-4",children:"Resources"}),(0,a.jsxs)("ul",{className:"space-y-2",children:[(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/blog/guides/what-is-svg",className:"text-sm text-secondary/70 hover:text-primary",children:"What is SVG?"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/gallery",className:"text-sm text-secondary/70 hover:text-primary",children:"SVG Gallery"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/animate",className:"text-sm text-secondary/70 hover:text-primary",children:"SVG Animation"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/blog",className:"text-sm text-secondary/70 hover:text-primary",children:"Blog"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/blog",className:"text-sm text-secondary/70 hover:text-primary",children:"Learn Center"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/docs",className:"text-sm text-secondary/70 hover:text-primary",children:"API & MCP Docs"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/sitemap",className:"text-sm text-secondary/70 hover:text-primary",children:"Sitemap"})})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-bold text-slate-900 mb-4",children:"Legal"}),(0,a.jsxs)("ul",{className:"space-y-2",children:[(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/privacy",className:"text-sm text-secondary/70 hover:text-primary",children:"Privacy & Cookies"})}),(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:"/terms",className:"text-sm text-secondary/70 hover:text-primary",children:"Terms of Service"})})]})]})]}),(0,a.jsxs)("div",{className:"mt-12 pt-8 border-t border-secondary/10 flex flex-col md:flex-row justify-between items-center",children:[(0,a.jsxs)("p",{className:"text-sm text-secondary/70",children:[" ",new Date().getFullYear()," SVG AI. All rights reserved."]}),(0,a.jsxs)("div",{className:"flex space-x-6 mt-4 md:mt-0",children:[(0,a.jsxs)(l(),{href:el.f.twitter.url,target:"_blank",rel:"noopener noreferrer",className:"text-secondary/70 hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"sr-only",children:"X (Twitter)"}),(0,a.jsx)("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})]}),(0,a.jsxs)(l(),{href:el.f.sameAs[1],target:"_blank",rel:"noopener noreferrer",className:"text-secondary/70 hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"sr-only",children:"LinkedIn"}),(0,a.jsx)("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z",clipRule:"evenodd"})})]}),(0,a.jsxs)(l(),{href:el.f.sameAs[2],target:"_blank",rel:"noopener noreferrer",className:"text-secondary/70 hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"sr-only",children:"YouTube"}),(0,a.jsx)("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M19.812 5.418c.861.23 1.538.907 1.768 1.768C21.998 8.746 22 12 22 12s0 3.255-.418 4.814a2.504 2.504 0 0 1-1.768 1.768c-1.56.419-7.814.419-7.814.419s-6.255 0-7.814-.419a2.505 2.505 0 0 1-1.768-1.768C2 15.255 2 12 2 12s0-3.255.417-4.814a2.507 2.507 0 0 1 1.768-1.768C5.744 5 11.998 5 11.998 5s6.255 0 7.814.418ZM15.194 12 10 15V9l5.194 3Z",clipRule:"evenodd"})})]}),(0,a.jsxs)(l(),{href:el.f.sameAs[4],target:"_blank",rel:"noopener noreferrer",className:"text-secondary/70 hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"sr-only",children:"Instagram"}),(0,a.jsx)("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.
1047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z",clipRule:"evenodd"})})]})]})]})]})})}let ed=["/signup"],ec=["/results"],em=[{href:"/tools",label:"Tools"},{href:"/pricing",label:"Pricing"},{href:"/blog",label:"Blog"},{href:"/docs",label:"API"}];function eh(e){return"/dashboard"===e}function ex(){let e=(0,i.usePathname)(),s="/"===e,[t,n]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{n(!0)},[]),ed.includes(e)||e.startsWith("/s/")||eh(e))?null:t?(0,a.jsx)(ei,{}):(0,a.jsx)("header",{className:"sticky top-0 z-40 w-full border-b bg-white/95 backdrop-blur h-16 sm:h-20",children:(0,a.jsxs)("div",{className:"mx-auto flex h-16 w-full max-w-[1680px] items-center justify-between px-5 py-2 sm:h-20 sm:px-8 xl:px-14 min-[2200px]:max-w-[2200px] min-[2200px]:px-16 min-[3200px]:max-w-[2500px] [@media_(max-height:430px)_and_(orientation:landscape)]:!h-16",children:[(0,a.jsxs)("a",{href:"/",className:"flex items-center -ml-1 sm:-ml-2","aria-label":"SVG AI Home",children:[(0,a.jsx)("div",{className:"sm:hidden",children:(0,a.jsx)(C.F,{width:94,height:30})}),(0,a.jsx)("div",{className:"hidden sm:block",children:(0,a.jsx)(C.F,{width:150,height:46})})]}),(0,a.jsx)("nav",{className:"hidden items-center gap-6 text-sm font-medium text-slate-700 md:flex","aria-label":"Primary navigation",children:em.map(e=>(0,a.jsx)("a",{href:e.href,className:"hover:text-[#FF7043]",children:e.label},e.href))}),(0,a.jsxs)("div",{className:"flex items-center gap-3 text-sm font-medium",children:[(0,a.jsx)("a",{href:"/login",className:"hidden text-slate-700 hover:text-[#FF7043] sm:inline",children:"Login"}),(0,a.jsx)("a",{href:"/signup",className:s?"hidden rounded-md px-3 py-2 text-slate-700 hover:bg-gray-100/50 hover:text-slate-900 sm:inline-flex":"hidden rounded-md bg-[#FF7043] px-4 py-2 text-white hover:bg-[#f45f2c] sm:inline-flex",children:"Sign Up"}),(0,a.jsxs)("span",{className:"inline-flex h-10 w-10 flex-col items-center justify-center gap-1 rounded-md border border-slate-200 text-slate-700 md:hidden","aria-hidden":"true",children:[(0,a.jsx)("span",{className:"h-0.5 w-4 rounded bg-current"}),(0,a.jsx)("span",{className:"h-0.5 w-4 rounded bg-current"}),(0,a.jsx)("span",{className:"h-0.5 w-4 rounded bg-current"})]})]})]})})}function ef(){let e=(0,i.usePathname)();return ed.includes(e)||ec.includes(e)||e.startsWith("/s/")||eh(e)?null:(0,a.jsx)(eo,{})}function ep({src:e,alt:s,fallbackSrc:t="/placeholder.svg",className:i="max-w-full max-h-full object-contain p-4",style:n}){let[l,o]=(0,r.useState)(e),[d,c]=(0,r.useState)(!1);return(0,a.jsx)("img",{src:l,alt:s,className:i,style:n,onError:()=>{!d&&t&&(c(!0),o(t))}})}},69663:(e,s,t)=>{t.d(s,{BK:()=>o,eu:()=>l,q5:()=>d});var a=t(95155),r=t(12115),i=t(54011),n=t(24026);let l=r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(i.bL,{ref:t,className:(0,n.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...s}));l.displayName=i.bL.displayName;let o=r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(i._V,{ref:t,className:(0,n.cn)("aspect-square h-full w-full",e),...s}));o.displayName=i._V.displayName;let d=r.forwardRef(({className:e,...s},t)=>(0,a.jsx)(i.H4,{ref:t,className:(0,n.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...s}));d.displayName=i.H4.displayName},77808:(e,s,t)=>{t.d(s,{f:()=>a});let a={name:"SVG AI",url:"https://www.svgai.org",foundingDate:"2024",description:"AI-powered SVG generation and conversion platform",logo:{url:"https://www.svgai.org/logo.svg",width:512,height:512},sameAs:["https://x.com/svg_ai","https://www.linkedin.com/company/svgai/","https://www.youtube.com/@svg-ai","https://www.facebook.com/aisvg","https://www.instagram.com/svgai_org/","https://ca.pinterest.com/svg_ai/","https://www.tiktok.com/@svgai.org","https://www.producthunt.com/products/svg-ai"],twitter:{handle:"@svg_ai",url:"https://x.com/svg_ai"},contact:{email:"[email protected]"},schemaIds:{organization:"https://www.svgai.org#organization",website:"https://www.svgai.org#website"}}}}]);

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.