PageSourceSearch

https://vaaryan.com/_next/static/chunks/app/layout-1ae752c91deb1515.js

js vaaryan.com collected 2026-10-05 18:18:00 UTC 28,043 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{285:(e,t,s)=>{"use strict";s.d(t,{$:()=>d});var a=s(5155),r=s(2115),n=s(4253),o=s(2085),i=s(9434);let l=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 font-headline",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 px-3",lg:"h-11 px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=r.forwardRef((e,t)=>{let{className:s,variant:r,size:o,asChild:d=!1,...c}=e,m=d?n.DX:"button";return(0,a.jsx)(m,{className:(0,i.cn)(l({variant:r,size:o,className:s}),"rounded-none"),ref:t,...c})});d.displayName="Button"},347:()=>{},610:(e,t,s)=>{"use strict";s.d(t,{$:()=>a});class a extends Error{constructor(e){super("FirestoreError: Missing or insufficient permissions: The following request was denied by Firestore Security Rules:\n".concat(JSON.stringify({operation:e.operation,path:e.path,...e.requestResourceData&&{resource:e.requestResourceData}},null,2))),this.name="FirestorePermissionError",this.context=e}}},972:(e,t,s)=>{"use strict";let a,r,n;s.d(t,{FirebaseClientProvider:()=>b,R8:()=>g,AU:()=>v,jt:()=>x});var o=s(3915),i=s(3004),l=s(5317);let d={apiKey:"AIzaSXXXX-Not-a-real-key-XXXXXXgGJ1Jk",authDomain:"studio-2513393069-e5764.firebaseapp.com",projectId:"studio-2513393069-e5764",storageBucket:"studio-2513393069-e5764.appspot.com",messagingSenderId:"503912351586",appId:"1:503912351586:web:15854b35c029676711b7d5"};var c=s(2115),m=s(5155),u=s(3310),f=s(7481);function p(){let{toast:e}=(0,f.dj)();return(0,c.useEffect)(()=>{let t=t=>{console.error(t),e({variant:"destructive",title:"Permission Denied",description:"You do not have permission to perform this action. Check your security rules.",duration:9e3})};return u.d.on("permission-error",t),()=>{u.d.off("permission-error",t)}},[e]),null}let h=(0,c.createContext)(null),x=()=>{var e;return null==(e=(0,c.useContext)(h))?void 0:e.firestore};function g(e){let{children:t,value:s}=e;return(0,m.jsxs)(h.Provider,{value:s,children:[(0,m.jsx)(p,{}),t]})}function b(e){let{children:t}=e,s=v();return(0,m.jsx)(g,{value:s,children:t})}s(610);let v=()=>{let e=(0,o.Dk)();return a=0===e.length?(0,o.Wp)(d):e[0],r=(0,i.xI)(a),n=(0,l.aU)(a),{firebaseApp:a,auth:r,firestore:n}}},1722:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,9243,23)),Promise.resolve().then(s.t.bind(s,347,23)),Promise.resolve().then(s.t.bind(s,8888,23)),Promise.resolve().then(s.t.bind(s,7573,23)),Promise.resolve().then(s.bind(s,4959)),Promise.resolve().then(s.bind(s,2541)),Promise.resolve().then(s.bind(s,2262)),Promise.resolve().then(s.bind(s,2558)),Promise.resolve().then(s.bind(s,972))},2018:(e,t,s)=>{"use strict";s.d(t,{$:()=>a});let a=(0,s(8693).vt)(e=>({isOpen:!1,onOpen:()=>e({isOpen:!0}),onClose:()=>e({isOpen:!1})}))},2262:(e,t,s)=>{"use strict";s.d(t,{Header:()=>g});var a=s(5155),r=s(2115),n=s(6874),o=s.n(n),i=s(5695),l=s(8341),d=s(5318),c=s(4637),m=s(285),u=s(8382),f=s(9434),p=s(81),h=s(2018);let x=[{href:"/work",label:"Work"},{href:"/philosophy",label:"Philosophy"},{href:"/lab",label:"Lab"},{href:"/journal",label:"Journal"}];function g(){let[e,t]=(0,r.useState)(!1),[s,n]=(0,r.useState)(!1),g=(0,i.usePathname)(),b=(0,h.$)();(0,r.useEffect)(()=>{let e=()=>{t(window.scrollY>10)};return window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)},[]),(0,r.useEffect)(()=>{n(!1)},[g]);let v=(e,t,s)=>{let r=g.startsWith("/work")&&"/work"===e,n=g.startsWith("/philosophy")&&"/philosophy"===e,i=g.startsWith("/lab")&&"/lab"===e,l=g.startsWith("/journal")&&"/journal"===e;return(0,a.jsx)(o(),{href:e,className:(0,f.cn)("text-sm font-medium transition-colors hover:text-primary",r||n||i||l?"text-primary":"text-foreground
1/80",s),children:t})};return(0,a.jsx)(p.P.header,{initial:{y:-100},animate:{y:0},transition:{duration:.5,ease:"easeOut"},className:(0,f.cn)("sticky top-0 z-50 w-full transition-all duration-300",e?"bg-background/50 border-b border-white/10 backdrop-blur-lg":"bg-transparent"),children:(0,a.jsxs)("div",{className:"container flex h-20 items-center",children:[(0,a.jsx)(c.g,{}),(0,a.jsxs)("nav",{className:"hidden md:flex items-center gap-8 ml-auto",children:[x.map(e=>(0,a.jsx)("div",{children:v(e.href,e.label)},e.href)),(0,a.jsx)(m.$,{variant:"outline",className:"border-primary/50 hover:bg-primary/10 hover:text-primary",onClick:b.onOpen,children:"Let's Talk"})]}),(0,a.jsx)("div",{className:"ml-auto md:hidden",children:(0,a.jsxs)(u.cj,{open:s,onOpenChange:n,children:[(0,a.jsx)(u.CG,{asChild:!0,children:(0,a.jsxs)(m.$,{variant:"ghost",size:"icon",children:[(0,a.jsx)(l.A,{className:"h-6 w-6"}),(0,a.jsx)("span",{className:"sr-only",children:"Open menu"})]})}),(0,a.jsxs)(u.h,{side:"right",className:"w-full max-w-xs bg-background border-l-white/10",children:[(0,a.jsx)(u.Fm,{className:"sr-only",children:(0,a.jsx)(u.qp,{children:"Menu"})}),(0,a.jsxs)("div",{className:"flex flex-col h-full",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between border-b border-white/10 pb-4",children:[(0,a.jsx)(c.g,{}),(0,a.jsx)(u.CG,{asChild:!0,children:(0,a.jsxs)(m.$,{variant:"ghost",size:"icon",children:[(0,a.jsx)(d.A,{className:"h-6 w-6"}),(0,a.jsx)("span",{className:"sr-only",children:"Close menu"})]})})]}),(0,a.jsx)("nav",{className:"flex flex-col gap-6 mt-8",children:x.map(e=>(0,a.jsx)("div",{children:v(e.href,e.label,"text-lg")},e.href))}),(0,a.jsx)(m.$,{className:"mt-auto",onClick:()=>{n(!1),b.onOpen()},children:"Contact Us"})]})]})]})})]})})}},2541:(e,t,s)=>{"use strict";s.d(t,{Footer:()=>f});var a=s(5155),r=s(4637),n=s(2404),o=s(5853),i=s(6874),l=s.n(i),d=s(2018);let c=[{href:"/work",label:"Work"},{href:"/philosophy",label:"Philosophy"},{href:"/lab",label:"Lab"},{href:"/journal",label:"Journal"},{href:"/privacy-policy",label:"Privacy Policy"}];function m(){let e=(0,d.$)();return(0,a.jsxs)("nav",{className:"flex flex-wrap justify-center md:justify-start gap-x-6 gap-y-2",children:[c.map(e=>(0,a.jsx)(l(),{href:e.href,className:"text-sm text-foreground/60 hover:text-primary transition-colors",children:e.label},e.href)),(0,a.jsx)("button",{onClick:e.onOpen,className:"text-sm text-foreground/60 hover:text-primary transition-colors",children:"Contact"})]})}let u=[{name:"LinkedIn",icon:n.A,href:"https://www.linkedin.com/company/vaaryan/"},{name:"X",icon:()=>(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-current",children:(0,a.jsx)("path",{d:"M714.244 511.564L1160.35 0H1055.2L667.139 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.1L515.803 754.16L842.672 1226.37H1200L714.244 511.564ZM569.168 687.828L521.409 617.59L115.688 34.144H304.142L598.818 483.746L646.576 553.98L1099.64 1195.42H911.186L569.168 687.828Z"})}),href:"https://x.com/vaaryanux"},{name:"Github",icon:o.A,href:"https://github.com/vaaryan"}];function f(){let e=new Date().getFullYear();return(0,a.jsx)("footer",{className:"bg-background border-t border-white/10 pt-16 pb-8 text-white",children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(r.g,{className:"w-[180px] h-auto"}),(0,a.jsx)("p",{className:"text-foreground/50 text-sm max-w-md mt-2",children:"Building the next generation of intelligent systems."}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mt-6",children:[(0,a.jsx)("div",{className:"partner-badge designrush-badge",children:(0,a.jsx)("a",{href:"https://www.designrush.com/agency/profile/vaaryan-interfaces",target:"_blank",rel:"nofollow sponsored",children:(0,a.jsx)("img",{src:"/images/designrush.png",alt:"DesignRush",loading:"lazy",width:"120"})})}),(0,a.jsx)("div",{className:"partner-badge goodfirms-badge",children:(0,a.jsx)("a",{href:"#",target:"_blank",rel:"nofollow",children:(0,a.jsx)("img",{src:"/images/good-firms.png",alt:"GoodFirms",loading:"lazy",width:"120"})})})]})]}),(0,a.jsxs)("div",{className:"flex flex-col items-start md:items-end gap-6",children:[(0,a.jsx)(m,{}),(0,a.jsx)("div",{className:"flex items-center gap-4",children:u.map(e=>
1(0,a.jsxs)(l(),{href:e.href,className:"text-foreground/60 hover:text-primary transition-colors",target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)(e.icon,{}),(0,a.jsx)("span",{className:"sr-only",children:e.name})]},e.name))})]})]}),(0,a.jsx)("div",{className:"mt-16 pt-8 border-t border-white/10 text-center text-xs text-foreground/40",children:(0,a.jsxs)("p",{children:["\xa9 ",e," Vaaryan Interfaces Private Limited"]})})]})})}},2558:(e,t,s)=>{"use strict";s.d(t,{Toaster:()=>g});var a=s(5155),r=s(7481),n=s(2115),o=s(6621),i=s(2085),l=s(5318),d=s(9434);let c=o.Kq,m=n.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(o.LM,{ref:t,className:(0,d.cn)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",s),...r})});m.displayName=o.LM.displayName;let u=(0,i.F)("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),f=n.forwardRef((e,t)=>{let{className:s,variant:r,...n}=e;return(0,a.jsx)(o.bL,{ref:t,className:(0,d.cn)(u({variant:r}),s),...n})});f.displayName=o.bL.displayName,n.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(o.rc,{ref:t,className:(0,d.cn)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",s),...r})}).displayName=o.rc.displayName;let p=n.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(o.bm,{ref:t,className:(0,d.cn)("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",s),"toast-close":"",...r,children:(0,a.jsx)(l.A,{className:"h-4 w-4"})})});p.displayName=o.bm.displayName;let h=n.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(o.hE,{ref:t,className:(0,d.cn)("text-sm font-semibold",s),...r})});h.displayName=o.hE.displayName;let x=n.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(o.VY,{ref:t,className:(0,d.cn)("text-sm opacity-90",s),...r})});function g(){let{toasts:e}=(0,r.dj)();return(0,a.jsxs)(c,{children:[e.map(function(e){let{id:t,title:s,description:r,action:n,...o}=e;return(0,a.jsxs)(f,{...o,children:[(0,a.jsxs)("div",{className:"grid gap-1",children:[s&&(0,a.jsx)(h,{children:s}),r&&(0,a.jsx)(x,{children:r})]}),n,(0,a.jsx)(p,{})]},t)}),(0,a.jsx)(m,{})]})}x.displayName=o.VY.displayName},3310:(e,t,s)=>{"use strict";s.d(t,{d:()=>r});class a{on(e,t){this.events[e]||(this.events[e]=[]),this.events[e].push(t)}emit(e){for(var t=arguments.length,s=Array(t>1?t-1:0),a=1;a<t;a++)s[a-1]=arguments[a];this.events[e]&&this.events[e].forEach(e=>e(...s))}off(e,t){this.events[e]&&(this.events[e]=this.events[e].filter(e=>e!==t))}constructor(){this.events={}}}let r=new a},4637:(e,t,s)=>{"use strict";s.d(t,{g:()=>l});var a=s(5155),r=s(6874),n=s.n(r),o=s(6766),i=s(9434);function l(e){let{className:t}=e;return(0,a.jsx)(n(),{href:"/",className:(0,i.cn)("flex items-center",t),"aria-label":"Vaaryan Interfaces Home",children:(0,a.jsx)(o.default,{src:"/images/vaayryan-white-logo.webp",alt:"Vaaryan Interfaces Logo",width:140,height:35,className:"object-contain h-full",priority:!0})})}},4959:(e,t,s)=>{"use strict";s.d(t,{ContactModal:()=>U});var a=s(5155),r=s(2115),n=s(2177),o=s(221),i=s(5594),l=s(2018),d=s(5821),c=s(5318),m=s(9434);let u=d.bL;d.l9;let f=d.ZL;d.bm;let p=r.forwardRef((e,t)=>
1{let{className:s,...r}=e;return(0,a.jsx)(d.hJ,{ref:t,className:(0,m.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",s),...r})});p.displayName=d.hJ.displayName;let h=r.forwardRef((e,t)=>{let{className:s,children:r,...n}=e;return(0,a.jsxs)(f,{children:[(0,a.jsx)(p,{}),(0,a.jsxs)(d.UC,{ref:t,className:(0,m.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",s),...n,children:[r,(0,a.jsxs)(d.bm,{className:"absolute right-4 top-4 rounded-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-accent data-[state=open]:text-muted-foreground",children:[(0,a.jsx)(c.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});h.displayName=d.UC.displayName;let x=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,m.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...s})};x.displayName="DialogHeader";let g=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,m.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...s})};g.displayName="DialogFooter";let b=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(d.hE,{ref:t,className:(0,m.cn)("text-lg font-semibold leading-none tracking-tight",s),...r})});b.displayName=d.hE.displayName;let v=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(d.VY,{ref:t,className:(0,m.cn)("text-sm text-muted-foreground",s),...r})});v.displayName=d.VY.displayName;let y=r.forwardRef((e,t)=>{let{className:s,type:r,...n}=e;return(0,a.jsx)("input",{type:r,className:(0,m.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",s),ref:t,...n})});y.displayName="Input";let j=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)("textarea",{className:(0,m.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",s),ref:t,...r})});j.displayName="Textarea";var N=s(285),w=s(6863),k=s(9556),C=s(7381),A=s(518);let S=w.bL;w.YJ;let E=w.WT,L=r.forwardRef((e,t)=>{let{className:s,children:r,...n}=e;return(0,a.jsxs)(w.l9,{ref:t,className:(0,m.cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",s),...n,children:[r,(0,a.jsx)(w.In,{asChild:!0,children:(0,a.jsx)(k.A,{className:"h-4 w-4 opacity-50"})})]})});L.displayName=w.l9.displayName;let R=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(w.PP,{ref:t,className:(0,m.cn)("flex cursor-default items-center justify-center py-1",s),...r,children:(0,a.jsx)(C.A,{className:"h-4 w-4"})})});R.displayName=w.PP.displayName;let P=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(w.wn,{ref:t,className:(0,m.cn)("flex cursor-default items-center justify-center py-1",s),...r,children:(0,a.jsx)(k.A,{className:"h-4 w-4"})})});P.displayName=w.wn.displayName;let T=r.forwardRef((e,t)=>{let{className:s,children:r,position:n="popper",...o}=e;return(0,a.jsx)(w.ZL,{children:(0,a.jsxs)(w.UC,{ref:t,className:(0,m.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",s),position:n,...o,children:[(0,a.jsx)(R,{}),(0,a.jsx)(w.LM,{className:(0,m.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),(0,a.jsx)(P,{})]})})});T.displayName=w.UC.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(w.JU,{ref:t,className:(0,m.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",s),...r})}).displayName=w.JU.displayName;let I=r.forwardRef((e,t)=>{let{className:s,children:r,...n}=e;return(0,a.jsxs)(w.q7,{ref:t,className:(0,m.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),...n,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(w.VF,{children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsx)(w.p4,{children:r})]})});I.displayName=w.q7.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(w.wv,{ref:t,className:(0,m.cn)("-mx-1 my-1 h-px bg-muted",s),...r})}).displayName=w.wv.displayName;var O=s(172),z=s(7481),F=s(972),_=s(5317),D=s(3310),M=s(610);let V=i.z.object({name:i.z.string().min(2,"Name must be at least 2 characters."),email:i.z.string().email("Invalid email address."),company:i.z.string().optional(),needs:i.z.string().min(1,"Please select an option."),message:i.z.string().min(10,"Message must be at least 10 characters.")});function U(){let{isOpen:e,onClose:t,onOpen:s}=(0,l.$)(),{toast:i}=(0,z.dj)(),d=(0,F.jt)(),{control:c,register:m,handleSubmit:f,reset:p,formState:{errors:w,isSubmitting:k}}=(0,n.mN)({resolver:(0,o.u)(V),defaultValues:{name:"",email:"",company:"",needs:"",message:""}}),C=async e=>{if(!d)return void i({title:"Error",description:"Firebase is not initialized.",variant:"destructive"});try{let s=(0,_.rJ)(d,"mail");(0,_.gS)(s,{to:["[email protected]"],replyTo:e.email,createdAt:(0,_.O5)(),message:{subject:"New Contact Submission: ".concat(e.needs),html:"\n            <p><strong>From:</strong> ".concat(e.name,"</p>\n            <p><strong>Email:</strong> ").concat(e.email,"</p>\n            <p><strong>Company:</strong> ").concat(e.company||"N/A","</p>\n            <p><strong>Needs:</strong> ").concat(e.needs,"</p>\n            <hr />\n            <p><strong>Message:</strong></p>\n            <p>").concat(e.message.replace(/\n/g,"<br>"),"</p>\n          ")}}).catch(t=>{let s=new M.$({path:"mail",operation:"create",requestResourceData:e});D.d.emit("permission-error",s)}
1),i({title:"Success!",description:"Thank you! Your message has been sent."}),p(),t()}catch(e){console.error(e),i({title:"Uh oh! Something went wrong.",description:"Could not send your message. Please try again later.",variant:"destructive"})}};return((0,r.useEffect)(()=>{e||p()},[e,p]),e)?(0,a.jsx)(u,{open:e,onOpenChange:e=>{e?s():t()},children:(0,a.jsxs)(h,{className:"sm:max-w-[525px] bg-background text-foreground border-border",children:[(0,a.jsxs)(x,{children:[(0,a.jsx)(b,{className:"text-2xl font-headline",children:"Get in Touch"}),(0,a.jsx)(v,{children:"We’d love to understand your needs."})]}),(0,a.jsxs)("form",{onSubmit:f(C),className:"space-y-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:"name",className:"text-sm font-medium",children:"Full Name"}),(0,a.jsx)(y,{id:"name",placeholder:"Your Name",...m("name")}),w.name&&(0,a.jsx)("p",{className:"text-xs text-destructive",children:w.name.message})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:"email",className:"text-sm font-medium",children:"Email Address"}),(0,a.jsx)(y,{id:"email",type:"email",placeholder:"[email protected]",...m("email")}),w.email&&(0,a.jsx)("p",{className:"text-xs text-destructive",children:w.email.message})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:"company",className:"text-sm font-medium",children:"Company Name (optional)"}),(0,a.jsx)(y,{id:"company",placeholder:"Your Company",...m("company")})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:"needs",className:"text-sm font-medium",children:"What do you need?"}),(0,a.jsx)(n.xI,{name:"needs",control:c,render:e=>{let{field:t}=e;return(0,a.jsxs)(S,{onValueChange:t.onChange,defaultValue:t.value,children:[(0,a.jsx)(L,{id:"needs",children:(0,a.jsx)(E,{placeholder:"Select an option"})}),(0,a.jsxs)(T,{children:[(0,a.jsx)(I,{value:"enterprise-ai",children:"Enterprise AI Consulting"}),(0,a.jsx)(I,{value:"custom-solution",children:"Build Custom AI Solution"}),(0,a.jsx)(I,{value:"ui-ux-design",children:"UI/UX + AI Product Design"}),(0,a.jsx)(I,{value:"tuton-partnership",children:"TutonAI Partnership / Pilot"}),(0,a.jsx)(I,{value:"other",children:"Something Else"})]})]})}}),w.needs&&(0,a.jsx)("p",{className:"text-xs text-destructive",children:w.needs.message})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("label",{htmlFor:"message",className:"text-sm font-medium",children:"Your Message"}),(0,a.jsx)(j,{id:"message",placeholder:"Tell us more about your project...",rows:4,...m("message")}),w.message&&(0,a.jsx)("p",{className:"text-xs text-destructive",children:w.message.message})]}),(0,a.jsxs)(g,{className:"flex-col gap-2",children:[(0,a.jsxs)("div",{className:"w-full text-center",children:[(0,a.jsxs)(N.$,{type:"submit",disabled:k,className:"w-full",children:[k?(0,a.jsx)(O.A,{className:"mr-2 h-4 w-4 animate-spin"}):null,"Send Message"]}),(0,a.jsx)("p",{className:"text-xs text-foreground/50 mt-2",children:"We respond within 24 hours."})]}),(0,a.jsx)(N.$,{type:"button",variant:"ghost",onClick:t,className:"w-full",children:"Close"})]})]})]})}):null}},7481:(e,t,s)=>{"use strict";s.d(t,{dj:()=>u});var a=s(2115);let r=0,n=new Map,o=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:s}=t;return s?o(s):e.toasts.forEach(e=>{o(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],d={toasts:[]};function c(e){d=i(d,e),l.forEach(e=>{e(d)})}function m(e){let{...t}=e,s=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>c({type:"DISMISS_TOAST",toastId:s});return c({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function u(){let[e,t]=a.useState(d);return a.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},8382:(e,t,s)=>{"use strict";s.d(t,{CG:()=>c,Fm:()=>h,cj:()=>d,h:()=>p,qp:()=>x});var a=s(5155),r=s(2115),n=s(5821),o=s(2085),i=s(5318),l=s(9434);let d=n.bL,c=n.l9;n.bm;let m=n.ZL,u=r.forwardRef((e,t)=>
1{let{className:s,...r}=e;return(0,a.jsx)(n.hJ,{className:(0,l.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",s),...r,ref:t})});u.displayName=n.hJ.displayName;let f=(0,o.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"}}),p=r.forwardRef((e,t)=>{let{side:s="right",className:r,children:o,...d}=e;return(0,a.jsxs)(m,{children:[(0,a.jsx)(u,{}),(0,a.jsxs)(n.UC,{ref:t,className:(0,l.cn)(f({side:s}),r),...d,children:[o,(0,a.jsxs)(n.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)(i.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});p.displayName=n.UC.displayName;let h=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,l.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...s})};h.displayName="SheetHeader";let x=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.hE,{ref:t,className:(0,l.cn)("text-lg font-semibold text-foreground",s),...r})});x.displayName=n.hE.displayName,r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(n.VY,{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",s),...r})}).displayName=n.VY.displayName},9434:(e,t,s)=>{"use strict";s.d(t,{cn:()=>n});var a=s(2596),r=s(9688);function n(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,r.QP)((0,a.$)(t))}}},e=>{var t=t=>e(e.s=t);e.O(0,[22,896,644,992,578,874,63,157,925,686,24,441,684,358],()=>t(1722)),_N_E=e.O()}]);

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.