PageSourceSearch

https://skynetlabs-law-demo.vercel.app/_next/static/chunks/app/contact/page-0236c3a5abaa6d60.js

js skynetlabs-law-demo.vercel.app collected 2026-10-03 07:45:30 UTC 5,561 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[327,995,791,301],{7243:function(e,t,r){Promise.resolve().then(r.bind(r,9460))},9460:function(e,t,r){"use strict";r.d(t,{ContactForm:function(){return u}});var n=r(881),o=r(4149);let i=(0,r(9717).Z)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);var a=r(7793),s=r(9924),l=r(270);let c=o.forwardRef((e,t)=>{let{className:r,...o}=e;return(0,n.jsx)("textarea",{className:(0,l.cn)("flex min-h-[100px] w-full rounded-md border border-input bg-background px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});c.displayName="Textarea";var d=r(6111);function u(e){let{compact:t=!1}=e,[r,l]=o.useState("idle"),u=async e=>{e.preventDefault(),l("sending");let t=new FormData(e.currentTarget),r=d.siteConfig.contact.form_endpoint;if(!r){let e=new URLSearchParams;t.forEach((t,r)=>e.append(r,String(t))),window.location.href="mailto:".concat(d.siteConfig.owner.contact_email,"?subject=Confidential%20Intake%20Request&body=").concat(encodeURIComponent(e.toString())),l("ok");return}try{let e={};t.forEach((t,r)=>e[r]=t),e.source="contact_form",e.niche=d.siteConfig.niche,e.city=d.siteConfig.location.city;let n=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)});l(n.ok?"ok":"err")}catch(e){l("err")}};return"ok"===r?(0,n.jsxs)("div",{className:"rounded-xl border border-border bg-card p-6 text-center",children:[(0,n.jsx)("h3",{className:"font-heading text-xl font-semibold",children:"Inquiry received ✓"}),(0,n.jsxs)("p",{className:"mt-2 text-sm text-muted-foreground",children:["A member of the firm will respond within one business day. For urgent matters, call ",d.siteConfig.owner.contact_phone,". Submitting this form does not create an attorney-client relationship."]})]}):(0,n.jsxs)("form",{onSubmit:u,className:t?"space-y-3":"grid gap-4 md:grid-cols-2",children:[(0,n.jsx)(s.I,{name:"name",required:!0,placeholder:"Full name"}),(0,n.jsx)(s.I,{name:"email",type:"email",required:!0,placeholder:"Email address"}),(0,n.jsx)(s.I,{name:"phone",type:"tel",placeholder:"Phone number"}),(0,n.jsx)(s.I,{name:"city",placeholder:"Your city",defaultValue:d.siteConfig.location.city}),(0,n.jsxs)("select",{name:"service",className:"md:col-span-2 flex h-11 w-full rounded-md border border-input bg-background px-3 text-base shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,n.jsx)("option",{value:"",children:"Select a practice area"}),d.siteConfig.services.map(e=>{var t;return(0,n.jsx)("option",{value:e.slug,children:null!==(t=e.title)&&void 0!==t?t:e.name},e.slug)})]}),(0,n.jsx)(c,{name:"message",placeholder:"Briefly describe the nature of your matter (do not include privileged or confidential information)...",className:"md:col-span-2",rows:4}),(0,n.jsx)(a.z,{type:"submit",size:"lg",className:"md:col-span-2",disabled:"sending"===r,children:"sending"===r?"Sending...":(0,n.jsxs)(n.Fragment,{children:["Request consultation ",(0,n.jsx)(i,{className:"h-4 w-4"})]})}),"err"===r&&(0,n.jsxs)("p",{className:"md:col-span-2 text-sm text-destructive",children:["Something went wrong. Please email ",d.siteConfig.owner.contact_email," directly."]})]})}},7793:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(881),o=r(4149),i=r(116),a=r(270);let s=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{primary:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-sm hover:shadow-md",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 border border-border",accent:"bg-accent text-accent-foreground hover:bg-accent/90 shadow-sm",outline:"border border-primary text-primary bg-transparent hover:bg-primary hover:text-primary-foreground",ghost:"bg-transparent hover:bg-muted",link:"text-primary underline-offset-4 hover:underline"},size:{sm:"h-9 px-3 text-sm",md:"h-11 px-5 text-base",lg:"h-14 px-8 text-base font-semibold",xl:"h-16 px-10 text-lg font-semibold",icon:"h-10 w-10"}},defaultVariants:{variant:"primary",size:"md"}}),l=o.forwardRef((e,t)=>
1{let{className:r,variant:o,size:i,...l}=e;return(0,n.jsx)("button",{ref:t,className:(0,a.cn)(s({variant:o,size:i,className:r})),...l})});l.displayName="Button"},9924:function(e,t,r){"use strict";r.d(t,{I:function(){return a}});var n=r(881),o=r(4149),i=r(270);let a=o.forwardRef((e,t)=>{let{className:r,type:o,...a}=e;return(0,n.jsx)("input",{type:o,className:(0,i.cn)("flex h-11 w-full rounded-md border border-input bg-background px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...a})});a.displayName="Input"},270:function(e,t,r){"use strict";r.d(t,{cn:function(){return i}});var n=r(3958),o=r(8033);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.m6)((0,n.W)(t))}}},function(e){e.O(0,[491,897,111,985,330,744],function(){return e(e.s=7243)}),_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.