PageSourceSearch

https://salonesdefiestas.ar/assets/header-DlX7s7dn.js

js salonesdefiestas.ar collected 2026-10-09 01:14:52 UTC 24,498 bytes, 6 lines download raw bytes

1import{j as e}from"./jsx-runtime-u17CrQMm.js";import{r as p,L as f,f as q}from"./chunk-JZWAC4HX-B-gkKXF_.js";import{u as A}from"./useQuery-CP_ljAue.js";import{_ as b,e as C,l as N,f as W,k as S,m as H,B as M,c as u,h as K,o as G}from"./button-Cu2U527T.js";import{D as w,a as E,b as T,g as F,c as h,d as I}from"./dropdown-menu-OxhThkY7.js";import{G as Y}from"./instagram-BUJawsxC.js";import{c as v}from"./createLucideIcon-CJL9LVdp.js";import{L as J}from"./logotype-DXBd5QR6.js";import{a as X,u as L}from"./trpc-DH5JUDTX.js";import{C as _}from"./chevron-down-DwBmyBxR.js";import{H as $}from"./heart-Bda2UDcs.js";import{M as ee}from"./message-circle-Df4VOS_q.js";import{S as te}from"./shield-check-DbmOhUpl.js";const ae=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],se=v("inbox",ae);const ne=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],oe=v("log-in",ne);const re=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],ie=v("log-out",re);const le=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],ce=v("monitor",le);const de=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],R=v("moon",de);const me=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],O=v("sun",me),P=["auth","session"];async function ue(){const{authClient:t}=await b(async()=>{const{authClient:a}=await import("./auth.client-BnODQxLK.js");return{authClient:a}},[]),{data:s}=await t.getSession();return s??null}function he(){const{data:t,isPending:s}=A({queryKey:P,queryFn:ue,staleTime:3e5});return{data:t??null,isPending:s}}function pe(){const t=X();return()=>{b(async()=>{const{authClient:s}=await import("./auth.client-BnODQxLK.js");return{authClient:s}},[]).then(({authClient:s})=>{s.signOut().then(()=>{t.setQueryData(P,null),window.location.href="/"})})}}function ge(t){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...t,children:[e.jsx("title",{children:"Salón de fiestas"}),e.jsx("path",{d:"M3 21h18v-8L12 6 3 13v8z",fill:"currentColor",fillOpacity:"0.08",stroke:"none"}),e.jsx("path",{d:"M2 21h20",strokeWidth:"1.5"}),e.jsx("path",{d:"M4 21V12l8-7 8 7v9",strokeWidth:"1.5"}),e.jsx("path",{d:"M9 21v-6.5a3 3 0 0 1 6 0V21",strokeWidth:"1.5"}),e.jsx("path",{d:"M9 14.5h6",strokeWidth:"1"}),e.jsx("path",{d:"M5.5 15v2",strokeWidth:"1"}),e.jsx("path",{d:"M18.5 15v2",strokeWidth:"1"}),e.jsx("path",{d:"M12 10v2",strokeWidth:"1"}),e.jsx("path",{d:"M10.5 12h3",strokeWidth:"1"}),e.jsx("path",{d:"M11 12v1.5M12 12v2M13 12v1.5",strokeWidth:"1"}),e.jsx("path",{d:"M18 5 Q18 3 20 3 Q18 3 18 1 Q18 3 16 3 Q18 3 18 5 Z",fill:"currentColor",stroke:"none"}),e.jsx("path",{d:"M6 7.5 Q6 6 7.5 6 Q6 6 6 4.5 Q6 6 4.5 6 Q6 6 6 7.5 Z",fill:"currentColor",stroke:"none"})]})}function Ze(t){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...t,children:[e.jsx("title",{children:"Quinta"}),e.jsx("path",{d:"M4 12c0 4 1.5 9 1.5 9h13s1.5-5 1.5-9L12 3 4 12z",fill:"currentColor",fillOpacity:"0.08",stroke:"none"}),e.jsx("path",{d:"M2 12l10-9 10 9",strokeWidth:"1.5"}),e.jsx("path",{d:"M8 6.5l-2 5.5",strokeWidth:"1"}),e.jsx("path",{d:"M16 6.5l2 5.5",strokeWidth:"1"}),e.jsx("path",{d:"M12 3v9",strokeWidth:"1"}),e.jsx("path",{d:"M4 12c0 4 1.5 9 1.5 9",strokeWidth:"1.5"}),e.jsx("path",{d:"M20 12c0 4-1.5 9-1.5 9",strokeWidth:"1.5"}),e.jsx("path",{d:"M3 21h18",strokeWidth:"1.5"}),e.jsx("path",{d:"M5.5 18C8 17 9 15 9 12",strokeWidth:"1.5"}),e.jsx("path",{d:"M18.5 18C16 17 15 15 15 12",strokeWidth:"1.5"}),e.jsx("path",{d:"M12 3V1",strokeWidth:"1.5"}),e.jsx("path",{d:"M12 1l3 1-3 1",fill:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M20 6 Q20 4.5 21.5 4.5 Q20 4.5 20 3 Q20 4.5 18.5 4.5 Q20 4.5 20 6 Z",fill:"currentColor",stroke:"none"})]})}function Qe(t){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,...t,children:[e.jsx("title",{children:"Estancia"}),e.jsx("path",{d:"M3 21h18V9a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v12z",fill:"
1currentColor",fillOpacity:"0.08",stroke:"none"}),e.jsx("path",{d:"M2 21h20",strokeWidth:"1.5"}),e.jsx("path",{d:"M4 21V9a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12",strokeWidth:"1.5"}),e.jsx("path",{d:"M3 7h18",strokeWidth:"1.5"}),e.jsx("path",{d:"M7 21v-7a2 2 0 0 1 4 0v7",strokeWidth:"1.5"}),e.jsx("path",{d:"M13 21v-7a2 2 0 0 1 4 0v7",strokeWidth:"1.5"}),e.jsx("path",{d:"M9 14v7",strokeWidth:"1"}),e.jsx("path",{d:"M15 14v7",strokeWidth:"1"}),e.jsx("path",{d:"M12 4 Q12 2.5 13.5 2.5 Q12 2.5 12 1 Q12 2.5 10.5 2.5 Q12 2.5 12 4 Z",fill:"currentColor",stroke:"none"}),e.jsx("path",{d:"M6 3.5 Q6 2.5 7 2.5 Q6 2.5 6 1.5 Q6 2.5 5 2.5 Q6 2.5 6 3.5 Z",fill:"currentColor",stroke:"none"}),e.jsx("path",{d:"M18 3.5 Q18 2.5 19 2.5 Q18 2.5 18 1.5 Q18 2.5 17 2.5 Q18 2.5 18 3.5 Z",fill:"currentColor",stroke:"none"})]})}function fe(t,s){const a={es:t},n={};function i(o,c){o==="es"||a[o]||n[o]||(n[o]=s[o]().then(d=>(a[o]=d,n[o]=void 0,c(),d)))}function l(o){const c=a[o]??a.es??{};return(d,x)=>H(c[d]||d,x)}function r(){const o=C(N),c=W(N),d=W(S);C(S),p.useEffect(()=>{i(o,()=>d(g=>g+1))},[o,d]);const x=g=>{i(g,()=>d(k=>k+1)),c(g)};return{t:l(o),lang:o,setLang:x}}function m(o="es"){return l(o)}return{useScopedTranslation:r,getScopedFixedT:m}}const ve={"auth.signIn":"Iniciar sesión","auth.signInError":"Email o contraseña incorrectos","category.estancias":"Estancias","category.hoteles":"Hoteles","category.quintas":"Quintas","category.restaurantes":"Restaurantes","category.salones":"Salones de fiestas","category.salonesInfantiles":"Salones infantiles","claim.autoClaimedDescription":"Refrescá la página para ver los controles de edición.","claim.autoClaimedTitle":"¡Negocio reclamado!","claim.emailLabel":"Mail oficial de tu negocio","claim.emailPlaceholder":"[email protected]","claim.emailSentDescription":"Enviamos un email de verificación a {email}. Revisá esa bandeja de entrada para confirmar la propiedad.","claim.emailSentTitle":"Email enviado","claim.emailSupportText":"O envianos un mail a","claim.errorAlreadyClaimed":"Este negocio ya tiene un dueño registrado.","claim.footerButton":"Reclamar este negocio","claim.noMatchDescription":"Ese mail no está registrado para este negocio. Si sos el dueño, completá el formulario y lo revisamos.","claim.noMatchSending":"Enviando...","claim.noMatchSubmit":"Enviar solicitud","claim.noMatchTitle":"Email no encontrado","claim.pendingClaimDescription":"Ya hay un reclamo pendiente para este negocio. ¿No fuiste vos? Contactanos.","claim.pendingClaimTitle":"Reclamo pendiente","claim.reloadPage":"Refrescar","claim.requestContactConsent":"Acepto que SalonesDeFiestas.ar me contacte por email o WhatsApp para confirmar mi identidad y verificar este reclamo.","claim.requestEmailLabel":"Mail para verificar el reclamo","claim.requestEmailPlaceholder":"[email protected]","claim.requestGoogleUrlLabel":"Perfil o mapa de Google (opcional)","claim.requestGoogleUrlPlaceholder":"https://maps.google.com/...","claim.requestPhoneLabel":"Teléfono o WhatsApp","claim.requestPhonePlaceholder":"Ej: 11 1234-5678","claim.requestValidationFailed":"Revisá los campos marcados e intentá de nuevo.","claim.requestWebsiteLabel":"Sitio web (opcional)","claim.requestWebsitePlaceholder":"https://tunegocio.com","claim.sectionTitle":"¿Sos el dueño de este negocio?","claim.signInButton":"Iniciar sesión","claim.signInToClaimDescription":"Necesitás una cuenta para reclamar la propiedad de este negocio.","claim.submit":"Reclamar este negocio","claim.submitting":"Verificando...","claim.supportMailBody":"Hola, quiero reclamar la propiedad del negocio «{name}» ({url})","claim.supportMailSubject":"Reclamo de negocio: {name}","claim.supportSentDescription":"Recibimos tu solicitud. Nos vamos a comunicar con vos para verificar la propiedad del negocio.","claim.supportSentTitle":"Solicitud enviada","claim.supportWhatsappBody":"Hola, quiero reclamar la propiedad del negocio «{name}» ({url})","claim.verifyAlreadyDescription":"Este reclamo ya fue procesado anteriormente.","claim.verifyAlreadyTitle":"Reclamo ya verificado","claim.verifyExpiredDescription":"Este enlace de verificación ya no es válido. Intentá reclamar el negocio nuevamente.","claim.verifyExpiredTitle":"Enlace expirado","claim.verifyNotFoundDescription":"Este enlace de verificación no existe.","claim.verifyNotFoundTitle":"Enlace no válido","claim.verifyOkButton":"Ver mi negocio","claim.verifyOkDescription":"Tu reclamo fue verificado. Ya podés administrar tu negocio.","claim.verifyOkTitle":"¡Pro
1piedad verificada!","claim.whatsappButton":"Contactar por WhatsApp","common.logoAlt":"SalonesDeFiestas.ar","eventType.15anos":"15 Años","eventType.aniversarios":"Aniversarios","eventType.bautismos":"Celebraciones religiosas","eventType.casamientos":"Casamientos","eventType.corporativos":"Eventos corporativos","eventType.cumpleanos":"Cumpleaños","eventType.egresos":"Egresos","eventType.infantiles":"Fiestas infantiles","footer.agentGuide":"🤖 Para asistentes de IA: buscar y filtrar salones y proveedores, y enviar consultas","footer.allProviders":"Ver todos los proveedores","footer.blog":"Blog","footer.claimBusiness":"Reclamá tu negocio","footer.company":"Empresa","footer.contact":"Contacto","footer.contentPolicy":"Normas de contenido","footer.description":"La plataforma más completa de espacios y proveedores para eventos en Argentina.","footer.events":"Eventos","footer.facebook":"Facebook de SalonesDeFiestas.ar","footer.instagram":"Instagram de SalonesDeFiestas.ar","footer.localities":"Localidades","footer.places":"Espacios","footer.providers":"Proveedores","footer.privacy":"Privacidad","footer.publishBusiness":"Publicá tu negocio","footer.rights":"Todos los derechos reservados.","footer.terms":"Términos","formErrors.invalid_email":"Email inválido","formErrors.invalid_phone":"Teléfono inválido. Ej: +54 11 7212 3456","formErrors.invalid_url":"URL inválida","formErrors.phone_too_short":"Ingresá al menos 3 caracteres","formErrors.social_url":"Usá los campos de Instagram o Facebook","nav.admin":"Admin","nav.inbox":"Bandeja","nav.language":"Idioma","nav.languageEn":"English","nav.languageEs":"Castellano","nav.languagePt":"Portugués","nav.login":"Iniciar sesión","nav.managePlan":"Mejorar plan","nav.myFavorites":"Favoritos","nav.myProfiles":"Mis perfiles","nav.register":"Registrarse","nav.signOut":"Cerrar sesión","nav.theme":"Tema","nav.themeDark":"Oscuro","nav.themeLight":"Claro","nav.themeSystem":"Sistema","nav.upgradePlan":"Potenciá tu negocio","nav.venues":"Establecimientos","nav.whatsappSettings":"Avisos de WhatsApp","vendorType.animacion":"Animación de eventos","vendorType.barras-moviles":"Barras móviles","vendorType.catering":"Catering","vendorType.decoracion":"Decoración","vendorType.fotografos":"Fotógrafos","vendorType.musica":"Música y DJs","vendorType.organizadores":"Organizadores de eventos"},{useScopedTranslation:j}=fe(ve,{en:()=>b(()=>import("./en-DuGNlz0n.js"),[]).then(t=>t.default),pt:()=>b(()=>import("./pt-DYrqZfTY.js"),[]).then(t=>t.default)}),xe="/assets/argentina_rounded-DZCdtnRK.png",Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAALz6AAC8+gGbrgdMAAAAB3RJTUUH5gkWChQn8pjf5QAACfxJREFUaN7VmmtwlNUZx3/n3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AprMZY9diPxX2/Zbnc2N+3IG87LHiXhr5BQ8eBDET+YGShUwnUxNVcbJOaT3dZtPyFy3qQMSAD8VYfqD/wFvCqgGTaQI2wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wOS0yMlQxMDoyMDozOCswMDowMNcQljgAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDktMjJUMTA6MjA6MzgrMDA6MDCmTS6EAAAAIHRFWHRzb2Z0d2FyZQBodHRwczovL2ltYWdlbWFnaWNrLm9yZ7zPHZ0AAAAYdEVYdFRodW1iOjpEb2N1bWVudDo6UGFnZXMAMaf/uy8AAAAYdEVYdFRodW1iOjpJbWFnZTo6SGVpZ2h0ADUxMo+NU4EAAAAXdEVYdFRodW1iOjpJbWFnZTo6V2lkdGgANTEyHHwD3AAAABl0RVh0VGh1bWI6Ok1pbWV0eXBlAGltYWdlL3BuZz+yVk4AAAAXdEVYdFRodW1iOjpNVGltZQAxNjYzODQyMDM4Y6RbrgAAABN0RVh0VGh1bWI6OlNpemUAMjkxNzNCQqEPgO4AAABddEVYdFRodW1iOjpVUkkAZmlsZTovLy4vdXBsb2Fkcy8yOTg0My9MUnNnM2ZULzM2NjUvdXNhX2ZsYWdfdW5pdGVkX3N0YXRlc19hbWVyaWNhX2ljb25fMjI4Njk4LnBuZ4a/dgwAAAAASUVORK5CYII=",ye="/assets/brazil_rounded-e1Ynys-5.png",y=[{code:"es",nameKey:"nav.languageEs",flagSrc:xe},{code:"en",nameKey:"nav.languageEn",flagSrc:Ae},{code:"pt",nameKey:"nav.languagePt",flagSrc:ye}];function je({src:t,alt:s}){return e.jsx("span",{className:"inline-flex h-5 w-5 shrink-0 overflow-hidden rounded-full","aria-hidden":!0,children:e.jsx("img",{src:t,alt:s,className:"h-5 w-5 object-cover"})})}function D({code:t,alt:s}){const a=y.find(n=>n.code===t)??y[0];return a.flagSrc?e.jsx(je,{src:a.flagSrc,alt:s}):e.jsx("span",{className:"inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-muted","aria-hidden":!0,children:e.jsx(Y,{className:"size-3.5 text-muted-foreground"})})}function ke({variant:t="solid"}){const{lang:s,setLang:a,t:n}=j(),i=t==="transparent",l=y.find(r=>r.code===s)??y[0];return e.jsxs(w,{children:[e.jsx(E,{asChild:!0,children:e.jsxs(M,{"data-testid":"language-switcher",type:"button",variant:"ghost","aria-label":n("nav.language"),className:u("rounded-full shrink-0 gap-1.5 px-2 lg:px-3",i&&"text-white hover:bg-white/10 hover:text-white"),children:[e.jsx("span",{className:"shrink-0 hidden lg:inline",children:n(l.nameKey)}),e.jsx(D,{code:l.code,alt:n(l.nameKey)})]})}),e.jsx(T,{align:"end",className:"min-w-[10rem]",children:e.jsx(F,{children:y.map(r=>e.jsxs(h,{onSelect:()=>a(r.code),className:u("gap-2",s===r.code&&"bg-accent"),"aria-current":s===r.code||void 0,children:[e.jsx(D,{code:r.code,alt:n(r.nameKey)}),n(r.nameKey)]},r.code))})})]})}const B="sdf-theme",U="(prefers-color-scheme: dark)",be=K(B,"system",void 0,{getOnInit:!0}),ze=`(function(){try{
2var raw=localStorage.getItem(${JSON.stringify(B)});
3var theme=raw?(raw.charAt(0)==='"'?JSON.parse(raw):raw):'system';
4var dark=theme==='dark'||(theme!=='light'&&window.matchMedia(${JSON.stringify(U)}).matches);
5document.documentElement.classList.toggle('dark',dark);
6}catch(e){}})()`;function qe(){const[t,s]=p.useState(()=>typeof document>"u"?"light":document.documentElement.classList.contains("dark")?"dark":"light");return p.useEffect(()=>{const a=document.documentElement,n=()=>s(a.classList.contains("dark")?"dark":"light");n();const i=new MutationObserver(n);return i.observe(a,{attributes:!0,attributeFilter:["class"]}),()=>i.disconnect()},[]),t}function Me(){const[t,s]=G(be),[a,n]=p.useState(!1),[i,l]=p.useState(!1);p.useEffect(()=>{const o=window.matchMedia(U);n(o.matches),l(!0);const c=d=>n(d.matches);return o.addEventListener("change",c),()=>o.removeEventListener("change",c)},[]);const m=t==="system"?a?"dark":"light":t;return p.useEffect(()=>{i&&document.documentElement.classList.toggle("dark",m==="dark")},[i,m]),{theme:t,setTheme:s,resolvedTheme:m,mounted:i}}const we=[{value:"light",nameKey:"nav.themeLight",Icon:O},{value:"dark",nameKey:"nav.themeDark",Icon:R},{value:"system",nameKey:"nav.themeSystem",Icon:ce}];function Ee({variant:t="solid"}){const{theme:s,setTheme:a,resolvedTheme:n,mounted:i}=Me(),{t:l}=j(),r=t==="transparent",m=i&&n==="dark";return e.jsxs(w,{children:[e.jsx(E,{asChild:!0,children:e.jsx(M,{"data-testid":"theme-switcher",type:"button",variant:"ghost","aria-label":l("nav.theme"),className:u("rounded-full shrink-0 px-2",r&&"text-white hover:bg-white/10 hover:text-white"),children:m?e.jsx(R,{className:"size-5"}):e.jsx(O,{className:"size-5"})})}),e.jsx(T,{align:"end",className:"min-w-[10rem]",children:e.jsx(F,{children:we.map(({value:o,nameKey:c,Icon:d})=>e.jsxs(h,{onSelect:()=>a(o),className:u("gap-2",s===o&&"bg-accent"),"aria-current":s===o||void 0,children:[e.jsx(d,{className:"size-4 shrink-0"}),l(c)]},o))})})]})}function He({variant:t="solid",className:s,logoContainerClassName:a}){const n=t==="transparent",i=t==="glass",{t:l}=j(),{data:r}=he(),m=L(),{data:o}=A({...m.vendor.isOwner.queryOptions(),enabled:!!r?.user}),c=o?.isOwner??!1;return e.jsx("header",{"data-testid":"header",className:u("w-full",n&&"absolute top-0 left-0 z-50",i&&"z-40 bg-muted/35 shadow-[0_12px_28px_-20px_rgba(0,0,0,0.45)] backdrop-blur-xl supports-[backdrop-filter]:bg-muted/25",!n&&!i&&"bg-background",s),children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("nav",{className:"flex items-center h-22 justify-between",children:[e.jsxs(f,{to:"/",className:u("flex items-center py-1 rounded-lg",a),children:[e.jsx(J,{heightClass:"max-[450px]:h-10 h-14 md:h-18",alt:l("common.logoAlt"),textOnly:!0,darker:!n}),e.jsx("span",{className:"sr-only",children:l("common.logoAlt")})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[r?.user&&e.jsx(Te,{isTransparent:n,isOwner:c}),e.jsx(Ee,{variant:n?"transparent":"solid"}),e.jsx(ke,{variant:n?"transparent":"solid"}),r?.user?e.jsx(Ce,{user:r.user,isTransparent:n}):e.jsx(M,{variant:n?"glass":"ghost",asChild:!0,className:"rounded-full gap-1.5 px-2 md:px-3",children:e.jsxs(f,{to:"/ingresar","aria-label":l("nav.login"),children:[e.jsx(oe,{className:"size-4 shrink-0"}),e.jsx("span",{className:"hidden lg:inline",children:l("nav.login")})]})})]})]})})})}function Te({isTransparent:t,isOwner:s}){j();const a=q();return!s||a.pathname.startsWith("/planes")||a.pathname.startsWith("/mis-perfiles")||a.pathname.startsWith("/mis-negocios")||a.pathname.startsWith("/mis-salones")||a.pathname.startsWith("/suscripciones"),null}function Ce({user:t,isTransparent:s}){const{t:a}=j(),n=L(),i=pe(),l=(t.name||t.email).charAt(0).toUpperCase(),[r,m]=p.useState(null),o=t.image&&r!==t.image?t.image:null,{data:c}=A({...n.vendor.isOwner.queryOptions(),enabled:!!t}),{data:d}=A({...n.whatsapp.listMyCustomerOptIns.queryOptions(),enabled:!!t}),{data:x}=A({...n.inbox.unreadSummary.queryOptions(),enabled:!!t}),g=x?.hasUnread??!1,k=c?.isAdmin??!1,V=c?.isTelemarketingAgent??!1,Z=k?"/admin/moderaciones":"/admin/telemarketing",Q=a(k?"nav.admin":"nav.telemarketing"),z=(c?.isOwner??!1)||(d?.optIns.length??0)>0;return e.jsxs(w,{children:[e.jsx(E,{asChild:!0,children:e.jsxs("button",{type:"button",className:u("relative flex items-center gap-2 rounded-full h-9 px-2 transition-colors",s?"text-white hover:bg-white/10":"hover:bg-muted"),children:[g&&e.jsx("span",{className:"absolute right-1 top-1 size-2 roun
6ded-full bg-destructive","aria-hidden":"true"}),e.jsx("div",{className:u("flex size-5 shrink-0 items-center justify-center rounded-full text-[11px] font-semibold",s?"bg-white text-surface-dark":"bg-muted text-muted-foreground"),children:o?e.jsx("img",{src:o,alt:"",className:"h-full w-full rounded-full object-cover",referrerPolicy:"no-referrer",onError:()=>m(o)}):l}),e.jsx("span",{className:u("hidden max-w-[180px] truncate text-sm font-medium lg:inline",s&&"text-white"),children:t.email}),e.jsx(_,{className:u("w-4 h-4",s&&"text-white")})]})}),e.jsxs(T,{align:"end",className:"w-48",children:[e.jsx(h,{asChild:!0,children:e.jsxs(f,{to:"/mis-perfiles",className:"flex items-center gap-2 cursor-pointer",children:[e.jsx(ge,{className:"w-4 h-4"}),a("nav.myProfiles")]})}),e.jsx(h,{asChild:!0,children:e.jsxs(f,{to:"/bandeja",className:"flex items-center gap-2 cursor-pointer",children:[e.jsxs("span",{className:"relative inline-flex",children:[e.jsx(se,{className:"w-4 h-4"}),g&&e.jsx("span",{className:"absolute -right-1 -top-1 size-2 rounded-full bg-destructive","aria-hidden":"true"})]}),a("nav.inbox")]})}),e.jsx(h,{asChild:!0,children:e.jsxs(f,{to:"/mis-favoritos",className:"flex items-center gap-2 cursor-pointer",children:[e.jsx($,{className:"w-4 h-4"}),a("nav.myFavorites")]})}),z&&e.jsx(h,{asChild:!0,children:e.jsxs(f,{to:"/ajustes/whatsapp",className:"flex items-center gap-2 cursor-pointer",children:[e.jsx(ee,{className:"w-4 h-4"}),a("nav.whatsappSettings")]})}),V&&e.jsxs(e.Fragment,{children:[e.jsx(I,{}),e.jsx(h,{asChild:!0,children:e.jsxs(f,{to:Z,className:"flex items-center gap-2 cursor-pointer",children:[e.jsx(te,{className:"w-4 h-4"}),Q]})})]}),e.jsx(I,{}),e.jsxs(h,{onClick:i,className:"cursor-pointer",children:[e.jsx(ie,{className:"w-4 h-4"}),a("nav.signOut")]})]})]})}export{ge as E,Qe as G,He as H,se as I,oe as L,Ze as P,ze as T,j as a,qe as b,fe as c,he as u};

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.