(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94489,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["default",0,function({items:e,pageTitle:n="Frequently Asked Questions"}){let[s,a]=(0,r.useState)(null),o={"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))};return(0,t.jsxs)("section",{className:"max-w-3xl mx-auto",children:[(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(o)}}),(0,t.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-[#1a3a5c] mb-8 text-center",children:n}),(0,t.jsx)("div",{className:"space-y-3",children:e.map((e,r)=>(0,t.jsxs)("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[(0,t.jsxs)("button",{type:"button",className:"w-full flex items-center justify-between px-6 py-4 text-left bg-white hover:bg-gray-50 transition-colors",onClick:()=>{a(s===r?null:r)},"aria-expanded":s===r,children:[(0,t.jsx)("span",{className:"font-medium text-gray-800 pr-4",children:e.question}),(0,t.jsx)("svg",{className:`w-5 h-5 text-[#1a3a5c] flex-shrink-0 transition-transform duration-200 ${s===r?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),s===r&&(0,t.jsx)("div",{className:"px-6 pb-5 bg-white border-t border-gray-100",children:(0,t.jsx)("p",{className:"text-gray-600 text-sm leading-relaxed pt-3",children:e.answer})})]},r))})]})}])},86099,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let n=[{title:"Non-Compete Clause",detail:"18-month non-compete covering entire industry nationwide — courts often void these but could cost you years of legal fees to fight.",risk:"HIGH"},{title:"IP Assignment",detail:"Assigns ALL intellectual property including work done on personal time. Your side projects may belong to your employer.",risk:"HIGH"},{title:"At-Will Termination",detail:"Employment terminable for any reason without notice. No severance guaranteed even after years of service.",risk:"MEDIUM"}],s={HIGH:"bg-red-100 text-red-700 border-red-200",MEDIUM:"bg-orange-100 text-orange-700 border-orange-200",LOW:"bg-yellow-100 text-yellow-700 border-yellow-200"},a={HIGH:"bg-red-600 text-white",MEDIUM:"bg-orange-500 text-white",LOW:"bg-yellow-500 text-white"};e.s(["default",0,function(){let[e,o]=(0,r.useState)("idle"),[l,i]=(0,r.useState)(!1),[c,d]=(0,r.useState)(""),[m,u]=(0,r.useState)(null),[g,x]=(0,r.useState)(!1),[p,f]=(0,r.useState)([{label:"Reading document...",done:!1},{label:"Identifying clauses...",done:!1},{label:"Assessing risk levels...",done:!1},{label:"Generating preview...",done:!1}]),h=(0,r.useRef)(null);function b(e){d(e.name),u(e),o("analyzing"),[600,1200,1900,2600].forEach((e,t)=>{setTimeout(()=>{f(e=>e.map((e,r)=>r<=t?{...e,done:!0}:e))},e)}),setTimeout(()=>{o("result")},3200)}async function y(){if(!m||g)return;x(!0);let e=crypto.randomUUID(),t=new FileReader;t.onload=async t=>{try{let r=(t.target?.result).split(",")[1];sessionStorage.setItem(e,JSON.stringify({base64:r,fileName:m.name,fileType:m.type}));let n=await fetch("/api/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({reportToken:e,fileName:m.name})}),s=await n.json();if(!n.ok||s.error)throw Error(s.error||"Checkout failed");window.location.href=s.url}catch(e){console.error(e),x(!1),alert("Could not start payment. Please try again.")}},t.onerror=()=>{x(!1),alert("Could not read file. Please try again.")},t.readAsDataURL(m)}return"idle"===e?(0,t.jsxs)("div",{id:"upload",onDrop:function(e){e.preventDefault(),i(!1);let t=e.dataTransfer.files[0];t&&b(t)},onDragOver:function(e){e.preventDefault(),i(!0)},onDragLeave:function(){i(!1)},onClick:()=>h.current?.click(),className:`border-2 border-dashed rounded-xl p-10 text-center cursor-pointer transition-all ${l?"border-[#059669] bg-green-50":"border-gray-300 bg-gray-50 hover:border-[#1a3a5c] hover:bg-blue-50"}`,children:[(0,t.jsx)("input",{ref:h,type:"file",accept:".pdf,.docx,.doc,.jpg,.jpeg,.png",className:"hidden",onChange:function(e){let t=e.target.files?.[0];t&&b(t)}}),(0,t.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-[#1a3a5c] rounded-full flex items-center justify-center",children:(0,t.jsx)("svg",{className:"w-8 h-8 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[#1a3a5c] font-semibold text-lg",children:"Drop your contract here or click to upload"}),(0,t.jsx)("p",{className:"text-gray-500 text-sm mt-1",children:"Supports PDF, DOCX, DOC, JPG, PNG"})]}),(0,t.jsx)("button",{type:"button",className:"bg-[#059669] hover:bg-[#047857] text-white px-8 py-3 rounded-lg font-semibold transition-colors",onClick:e=>{e.stopPropagation(),h.current?.click()},children:"Choose File to Analyze"}),(0,t.jsx)("p",{className:"text-gray-400 text-xs",children:"🔒 Encrypted in transit · Deleted after analysis · Not legal advice"})]})]}):"analyzing"===e?(0,t.jsx)("div",{className:"border-2 border-[#1a3a5c] rounded-xl p-10 bg-blue-50",children:(0,t.jsxs)("div",{className:"flex flex-col items-center space-y-6",children:[(0,t.jsx)("div",{className:"w-16 h-16 relative",children:(0,t.jsx)("div",{className:"absolute inset-0 border-4 border-[#1a3a5c] border-t-transparent rounded-full animate-spin"})}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"text-[#1a3a5c] font-semibold text-lg",children:"Scanning contract..."}),(0,t.jsx)("p",{className:"text-gray-500 text-sm mt-1",children:c})]}),(0,t.jsx)("div",{className:"w-full max-w-sm space-y-3",children:p.map((e,r)=>(0,t.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,t.jsx)("div",{className:`w-5 h-5 rounded-full flex items-center justify-center flex-shrink-0 transition-all ${e.done?"bg-[#059669]":"bg-gray-200"}`,children:e.done&&(0,t.jsx)("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})}),(0,t.jsx)("span",{className:`text-sm ${e.done?"text-gray-800 font-medium":"text-gray-400"}`,children:e.label})]},r))})]})}):(0,t.jsxs)("div",{className:"border-2 border-red-300 rounded-xl overflow-hidden",children:[(0,t.jsxs)("div",{className:"bg-red-600 px-6 py-4 flex items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-red-100 text-sm font-medium",children:"Contract Risk Score"}),(0,t.jsx)("p",{className:"text-white text-3xl font-bold",children:"75 / 100"})]}),(0,t.jsxs)("div",{className:"text-right",children:[(0,t.jsx)("span",{className:"bg-white text-red-600 font-bold text-sm px-3 py-1 rounded-full",children:"HIGH RISK"}),(0,t.jsx)("p",{className:"text-red-100 text-xs mt-1",children:c})]})]}),(0,t.jsxs)("div",{className:"bg-white p-6 space-y-4",children:[(0,t.jsxs)("h3",{className:"font-semibold text-gray-800 text-sm uppercase tracking-wider",children:["Flagged Clauses (",n.length," shown — preview only)"]}),n.map((e,r)=>(0,t.jsx)("div",{className:`border rounded-lg p-4 ${s[e.risk]}`,children:(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"font-semibold text-sm",children:e.title}),(0,t.jsx)("p",{className:"text-sm mt-1 opacity-90",children:e.detail})]}),(0,t.jsx)("span",{className:`text-xs font-bold px-2 py-1 rounded flex-shrink-0 ${a[e.risk]}`,children:e.risk})]})},r)),(0,t.jsx)("div",{className:"bg-gray-100 rounded-lg p-4 text-center",children:(0,t.jsx)("p",{className:"text-gray-500 text-sm",children:"+ 8 more clauses in the full AI report"})})]}),(0,t.jsxs)("div",{className:"bg-gray-50 border-t border-gray-200 p-6 space-y-4",children:[(0,t.jsx)("div",{className:"bg-blue-50 rounded-lg p-4 border border-blue-200",children:(0,t.jsxs)("p",{className:"text-sm text-gray-700",children:[(0,t.jsx)("strong",{children:"This is a free preview."})," See all clauses, negotiation tips, and your complete risk report for ",(0,t.jsx)("strong",{children:"just $19"}),"."]})}),(0,t.jsx)("button",{onClick:y,disabled:g,className:"w-full bg-[#059669] hover:bg-[#047857] disabled:bg-gray-400 disabled:cursor-not-allowed text-white py-3 rounded-lg font-bold text-base transition-colors flex items-center justify-center gap-2",children:g?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),"Redirecting to payment…"]}):"Unlock Full Report — $19"}),(0,t.jsx)("p",{className:"text-center text-gray-400 text-xs",children:"🔒 Secured by Stripe · One-time payment · File deleted after analysis · 30-day refund guarantee"})]})]})}])},49495,e=>{"use strict";var t=e.i(43476),r=e.i(22016);let n={"at-will employment":"/at-will-employment-contract-review","at-will termination":"/at-will-employment-contract-review","non-compete":"/non-compete-clause-review","non-compete clause":"/non-compete-clause-review","non-solicitation":"/blog/non-solicitation-clause-explained","non-disparagement":"/severance-agreement-review","vesting cliff":"/blog/equity-vesting-cliff-clauses","stock options":"/job-offer-review","equity vesting":"/blog/equity-vesting-cliff-clauses",rsu:"/job-offer-review","signing bonus":"/blog/signing-bonus-clawback-clauses",clawback:"/blog/signing-bonus-clawback-clauses","ip assignment":"/ip-assignment-clause-review","intellectual property":"/ip-assignment-clause-review","work for hire":"/blog/work-for-hire-what-it-means","invention assignment":"/ip-assignment-clause-review","severance agreement":"/blog/severance-agreement-guide","severance package":"/blog/severance-agreement-guide","termination clause":"/termination-clause-review",layoff:"/blog/severance-agreement-guide","termination without cause":"/severance-agreement-review","kill fee":"/blog/kill-fee-clause-explained","freelance contract":"/freelance-contract-review","unlimited revisions":"/blog/unlimited-revisions-clause-risk","scope creep":"/blog/scope-creep-contract-language","payment terms":"/blog/payment-terms-freelance-contracts","contractor misclassification":"/blog/contractor-misclassification-risk","expat contract":"/blog/expat-contract-what-to-check","expat employment":"/blog/expat-contract-what-to-check","remote work":"/blog/remote-work-contract-international",relocation:"/blog/relocation-clause-risks","tax equalization":"/blog/expat-contract-what-to-check","negotiate job offer":"/blog/how-to-negotiate-job-offer","negotiation tactics":"/blog/how-to-negotiate-job-offer","salary negotiation":"/blog/how-to-negotiate-job-offer","employment contract":"/employment-contract-review","job offer":"/job-offer-review","job offer review":"/job-offer-review","contract review":"/employment-contract-review","red flags":"/blog/non-compete-red-flags","arbitration clause":"/employment-contract-review",confidentiality:"/blog/confidentiality-clause-freelancer","governing law":"/blog/governing-law-clause-employment"};e.s(["default",0,function({text:e,currentSlug:s,maxLinks:a=3,className:o="text-gray-700 text-base leading-relaxed"}){let l=function(e,t,r=3){let s=function(e){let t=[],r=e.toLowerCase();for(let e of Object.keys(n).sort((e,t)=>t.length-e.length))RegExp(`\\b${e}\\b`,"gi").test(r)&&t.push(e);return t}(e),a=[],o=0,l=e.toLowerCase();for(let e of s.sort((e,t)=>t.length-e.length)){if(o>=r)break;let s=n[e];if(t.includes(s.replace(/\//g,"").replace("-review","")))continue;let i=l.indexOf(e.toLowerCase());-1!==i&&!a.some(t=>t.term.toLowerCase()===e.toLowerCase())&&(a.push({term:e,url:s,position:i}),o++)}return a.sort((e,t)=>e.position-t.position)}(e,s,a);if(0===l.length)return(0,t.jsx)("p",{className:o,children:e});let i=[],c=0;for(let t of l){let{term:r,url:n,position:s}=t;s>c&&i.push({type:"text",content:e.substring(c,s)}),i.push({type:"link",content:r,term:r,url:n}),c=s+r.length}return c"text"===e.type?(0,t.jsx)("span",{children:e.content},n):(0,t.jsx)(r.default,{href:e.url,className:"text-[#059669] hover:text-[#047857] hover:underline transition-colors font-medium",children:e.term},n))})}],49495)}]);