PageSourceSearch

https://bajra.ai/_next/static/chunks/6947-1216882fb3bc1843.js

js bajra.ai collected 2026-10-05 11:49:49 UTC 11,004 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6947],{12838:(e,r,a)=>{a.d(r,{SiteHeaderClient:()=>N});var t=a(95155),n=a(15239),s=a(52619),o=a.n(s),i=a(12115),l=a(89168),d=a(49155),c=a(34788),x=a(41851),u=a(15553);function m(e){let{className:r=""}=e,{locale:a,setLocale:n}=(0,x.F)();return(0,t.jsx)("div",{role:"group","aria-label":"Language",className:"inline-flex items-center gap-0.5 rounded-lg border border-[var(--border)] bg-[var(--card)] p-0.5 ".concat(r),children:u.Y.map(e=>{let r=a===e.value;return(0,t.jsx)("button",{type:"button",onClick:()=>n(e.value),"aria-pressed":r,"aria-label":"Switch language to ".concat(e.label),title:e.label,className:"min-w-[28px] rounded-md px-2 py-1 font-mono text-[10px] uppercase tracking-[0.18em] transition ".concat(r?"bg-[var(--foreground)] text-[var(--background)]":"text-[var(--muted)] hover:text-[var(--foreground)]"),children:e.native},e.value)})})}var h=a(61006),f=a(32470),v=a(33297),p=a(5379);let g=["system","light","dark"],b={system:"Auto",light:"Light",dark:"Dark"};function j(e){let{className:r=""}=e,[a,n]=(0,i.useState)(!1),{theme:s,setTheme:o}=(0,p.D)();if((0,i.useEffect)(()=>n(!0),[]),!a)return(0,t.jsx)("span",{className:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-lg border border-[var(--border)] bg-[var(--card)] ".concat(r),"aria-hidden":!0});let l="light"===s||"dark"===s||"system"===s?s:"system",d=function(e){let r=g.indexOf(e);return g[(r+1)%g.length]}(l),c="system"===l?h.A:"light"===l?f.A:v.A;return(0,t.jsx)("button",{type:"button",onClick:()=>o(d),className:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-lg border border-[var(--border)] bg-[var(--card)] text-[var(--foreground)] transition hover:bg-[var(--background)] ".concat(r),title:"".concat(b[l]," — next: ").concat(b[d]),"aria-label":"Theme ".concat(b[l],". Activate to use ").concat(b[d],"."),children:(0,t.jsx)(c,{className:"h-4 w-4 text-[var(--muted)]","aria-hidden":!0})})}function N(e){let{signedIn:r,appHref:a="/dashboard"}=e,{t:s}=(0,x.F)(),[u,h]=(0,i.useState)(!1);(0,i.useEffect)(()=>{if(!u)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[u]),(0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&h(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]);let f=()=>h(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:"sticky top-0 z-40 border-b border-[var(--border)]/60 bg-[var(--background)]/40 backdrop-blur-xl backdrop-saturate-150",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-6xl items-center justify-between gap-4 px-4 py-3.5 sm:py-4",children:[(0,t.jsxs)(o(),{href:"/","aria-label":"Bajra AI home",className:"inline-flex items-center transition hover:opacity-80",children:[(0,t.jsx)(n.default,{src:"/bajraai-fulllogo-wh.png",alt:"Bajra AI",width:344,height:96,priority:!0,className:"h-8 w-auto dark:hidden"}),(0,t.jsx)(n.default,{src:"/bajraai-fulllogo.png",alt:"Bajra AI",width:344,height:96,priority:!0,className:"hidden h-8 w-auto dark:block"})]}),(0,t.jsxs)("nav",{className:"flex items-center gap-3 sm:gap-5",children:[(0,t.jsx)(o(),{href:"/#features",className:"hidden font-mono text-[10px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:text-[var(--foreground)] sm:inline",children:s.nav.features}),(0,t.jsx)(o(),{href:"/inbound",className:"hidden font-mono text-[10px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:text-[var(--foreground)] sm:inline",children:s.nav.inbound}),(0,t.jsx)(o(),{href:"/outbound",className:"hidden font-mono text-[10px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:text-[var(--foreground)] sm:inline",children:s.nav.outbound}),(0,t.jsx)(o(),{href:"/contact",className:"hidden font-mono text-[10px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:text-[var(--foreground)] sm:inline",children:s.nav.contact}),(0,t.jsx)("span",{"aria-hidden":!0,className:"hidden text-[var(--border)] sm:inline",children:"/"}),(0,t.jsx)("div",{className:"hidden sm:inline-flex",children:(0,t.jsx)(m,{})}),(0,t.jsx)("div",{className:"hidden sm:inline-flex",children:(0,t.jsx)(j,{})}),r?(0,t.jsxs)(o(),{href:a,className:"group inline-flex items-center gap-1.5 rounded-full bg-[var(--foreground)] px-4 py-2 text-sm font-medium text-[var(--background)] transition hover:opacity-90",children:[s.nav.dashboard,(0,t.jsx)(l.A,{className:"h-3.5 w-3.5 transition-transform group-hover:-translate-y-0.5 group-hover:translate-x-0.5"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o(),{href:"/login",className:"hidden sm:inline font-mono text-[10px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:text-[var(--foreground)]",children:s.nav.signIn}),(0,t.jsxs)(o(),{href:"/register",className:"group inline-flex items-center gap-1 rounded-full bg-[var(--foreground)] px-3 py-1.5 text-xs font-medium text-[var(--background)] transition hover:opacity-90 sm:gap-1.5 sm:px-4 sm:py-2 sm:text-sm",children:[s.nav.getStarted,(0,t.jsx)(l.A,{className:"h-3.5 w-3.5 transition-transform group-hover:-translate-y-0.5 group-hover:translate-x-0.5"})]})]}),(0,t.jsx)("button",{type:"button",onClick:()=>h(!0),"aria-label":"Open menu","aria-expanded":u,"aria-controls":"mobile-nav-drawer",className:"inline-flex h-9 w-9 items-center justify-center rounded-lg border border-[var(--border)] bg-[var(--card)] text-[var(--foreground)] transition hover:text-[var(--accent)] sm:hidden",children:(0,t.jsx)(d.A,{className:"h-4 w-4","aria-hidden":!0})})]})]})}),(0,t.jsxs)("div",{className:"fixed inset-0 z-50 sm:hidden ".concat(u?"":"pointer-events-none"),"aria-hidden":!u,children:[(0,t.jsx)("button",{type:"button",tabIndex:u?0:-1,"aria-label":"Close menu",onClick:f,className:"absolute inset-0 bg-black/40 backdrop-blur-sm transition-opacity duration-200 ".concat(u?"opacity-100":"opacity-0")}),(0,t.jsxs)("aside",{id:"mobile-nav-drawer",role:"dialog","aria-modal":"true","aria-label":"Navigation",className:"absolute right-0 top-0 flex h-full w-[85%] max-w-sm flex-col border-l border-[var(--border)] bg-[var(--background)] shadow-2xl transition-transform duration-200 ease-out ".concat(u?"translate-x-0":"translate-x-full"),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-[var(--border)]/60 px-5 py-4",children:[(0,t.jsxs)("span",{className:"inline-flex items-center","aria-label":"Bajra AI",children:[(0,t.jsx)(n.default,{src:"/bajraai-fulllogo-wh.png",alt:"Bajra AI",width:344,height:96,className:"h-7 w-auto dark:hidden"}),(0,t.jsx)(n.default,{src:"/bajraai-fulllogo.png",alt:"Bajra AI",width:344,height:96,className:"hidden h-7 w-auto dark:block"})]}),(0,t.jsx)("button",{type:"button",onClick:f,"aria-label":"Close menu",className:"inline-flex h-9 w-9 items-center justify-center rounded-lg border border-[var(--border)] bg-[var(--card)] text-[var(--foreground)] transition hover:text-[var(--accent)]",children:(0,t.jsx)(c.A,{className:"h-4 w-4","aria-hidden":!0})})]}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-1 px-3 py-4",children:[(0,t.jsx)(o(),{href:"/#features",onClick:f,className:"rounded-lg px-3 py-3 font-mono text-[11px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:bg-[var(--card)] hover:text-[var(--foreground)]",children:s.nav.features}),(0,t.jsx)(o(),{href:"/inbound",onClick:f,className:"rounded-lg px-3 py-3 font-mono text-[11px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:bg-[var(--card)] hover:text-[var(--foreground)]",children:s.nav.inbound}
1),(0,t.jsx)(o(),{href:"/outbound",onClick:f,className:"rounded-lg px-3 py-3 font-mono text-[11px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:bg-[var(--card)] hover:text-[var(--foreground)]",children:s.nav.outbound}),(0,t.jsx)(o(),{href:"/contact",onClick:f,className:"rounded-lg px-3 py-3 font-mono text-[11px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:bg-[var(--card)] hover:text-[var(--foreground)]",children:s.nav.contact}),!r&&(0,t.jsx)(o(),{href:"/login",onClick:f,className:"rounded-lg px-3 py-3 font-mono text-[11px] uppercase tracking-[0.22em] text-[var(--muted)] transition hover:bg-[var(--card)] hover:text-[var(--foreground)]",children:s.nav.signIn})]}),(0,t.jsx)("div",{className:"border-t border-[var(--border)]/60 px-5 py-4",children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("span",{className:"font-mono text-[10px] uppercase tracking-[0.22em] text-[var(--muted)]",children:"Preferences"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(m,{}),(0,t.jsx)(j,{})]})]})})]})]})]})}},59144:(e,r,a)=>{a.d(r,{SiteFooter:()=>l});var t=a(95155),n=a(15239),s=a(52619),o=a.n(s),i=a(41851);function l(){let{t:e}=(0,i.F)();return(0,t.jsx)("footer",{className:"border-t border-[var(--border)]",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-4 py-12",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 sm:grid-cols-3 sm:items-end",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(n.default,{src:"/bajraai-fulllogo-wh.png",alt:"Bajra AI",width:344,height:96,className:"h-9 w-auto dark:hidden"}),(0,t.jsx)(n.default,{src:"/bajraai-fulllogo.png",alt:"Bajra AI",width:344,height:96,className:"hidden h-9 w-auto dark:block"})]}),(0,t.jsx)("p",{className:"mt-3 max-w-xs text-sm leading-relaxed text-[var(--muted)]",children:e.footer.tagline})]}),(0,t.jsxs)("nav",{className:"flex flex-wrap items-center gap-x-6 gap-y-2 text-sm sm:justify-center",children:[(0,t.jsx)(o(),{href:"/#features",className:"text-[var(--muted)] transition hover:text-[var(--foreground)]",children:e.footer.features}),(0,t.jsx)(o(),{href:"/inbound",className:"text-[var(--muted)] transition hover:text-[var(--foreground)]",children:e.footer.inbound}),(0,t.jsx)(o(),{href:"/outbound",className:"text-[var(--muted)] transition hover:text-[var(--foreground)]",children:e.footer.outbound}),(0,t.jsx)(o(),{href:"/contact",className:"text-[var(--muted)] transition hover:text-[var(--foreground)]",children:e.footer.contact})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 font-mono text-[10px] uppercase tracking-[0.22em] text-[var(--muted)] sm:justify-end",children:[(0,t.jsxs)("span",{className:"relative inline-flex h-1.5 w-1.5",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full rounded-full bg-emerald-500 opacity-60 motion-safe:animate-ping"}),(0,t.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-emerald-500"})]}),e.footer.systems]})]}),(0,t.jsxs)("div",{className:"mt-10 flex flex-wrap items-center justify-between gap-3 border-t border-[var(--border)] pt-6 font-mono text-[10px] uppercase tracking-[0.22em] text-[var(--muted)]",children:[(0,t.jsx)("span",{children:e.footer.copyright}),(0,t.jsx)("span",{className:"hidden sm:inline",children:e.footer.madeFor})]})]})})}}}]);

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.