1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85082,e=>{"use strict";var t=e.i(62667);let r=(0,t.createContext)({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),i=t.forwardRef((e,i)=>{let{alt:n,color:s,size:a,weight:o,mirrored:l,children:c,weights:d,...u}=e,{color:m="currentColor",size:h,weight:p="regular",mirrored:f=!1,...g}=t.useContext(r);return t.createElement("svg",{ref:i,xmlns:"http://www.w3.org/2000/svg",width:null!=a?a:h,height:null!=a?a:h,fill:null!=s?s:m,viewBox:"0 0 256 256",transform:l||f?"scale(-1, 1)":void 0,...g,...u},!!n&&t.createElement("title",null,n),c,d.get(null!=o?o:p))});i.displayName="IconBase",e.s(["default",()=>i],85082)},37450,e=>{"use strict";var t=e.i(13274),r=e.i(8380),i=e.i(12320);function n({source:e,title:n="We can refer you to a CPA",description:s,ctaLabel:a="Talk to a CPA",note:o="Youâll be taken to TaxClaimâs dedicated 5472Direct page.",className:l=""}){let c,d=(c=new URLSearchParams({source:e}),`/r/taxclaim?${c.toString()}`);return(0,t.jsxs)("div",{className:`rounded-xl border border-zinc-300 bg-white px-5 py-4 ${l}`.trim(),children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-zinc-950",children:n}),(0,t.jsx)("p",{className:"mt-1 text-sm leading-6 text-zinc-600",children:s}),(0,t.jsxs)(r.default,{href:d,onClick:()=>(0,i.trackGoogleEvent)("taxclaim_referral_clicked",{source:e}),className:"cursor-pointer mt-4 inline-flex rounded-full bg-zinc-950 px-6 py-3 text-sm font-semibold text-white transition-all hover:scale-[0.98] hover:bg-zinc-900",children:[a," â"]}),(0,t.jsx)("p",{className:"mt-3 text-xs text-zinc-500",children:o})]})}e.s(["TaxClaimReferralCard",()=>n],37450)},67350,e=>{"use strict";var t=e.i(13274),r=e.i(62667),i=e.i(85082);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]]),s=r.forwardRef((e,t)=>r.createElement(i.default,{ref:t,...e,weights:n}));s.displayName="InfoIcon";var a=e.i(89008),o=e.i(8380),l=e.i(76993),c=e.i(12320),d=e.i(37450),u=e.i(95344),m=e.i(11795);let h=[{key:"hasEin",prompt:"Does your LLC currently have an Employer Identification Number (EIN) issued by the IRS?",qualifyingAnswer:"yes",disqualifyReason:"You cannot file Form 5472 without an EIN. Obtain your EIN first, then return to complete the filing."},{key:"isSingleMember",prompt:"Is your company a single-member LLC formed in a U.S. State?",qualifyingAnswer:"yes",disqualifyReason:"Multi-member LLCs or non-U.S. entities require different forms which we don't support yet."},{key:"isForeignOwned",prompt:"Is the sole owner a non-US resident? (You must NOT have US Citizenship, a US Green Card, or meet the IRS Substantial Presence Test).",helpText:"The IRS Substantial Presence Test is a formula based on days spent in the US over a 3-year period. Generally, if you spent more than 120 days in the US in each of the last 3 years, or 183 days in the current year, you may be a US tax resident. If close to these limits, please verify your status using the IRS formula.",qualifyingAnswer:"yes",disqualifyReason:"If the owner is a US citizen, resident, or a foreign corporate entity, filing rules differ from our supported individual-owner flow."},{key:"isDisregardedEntity",prompt:"Is your LLC still on the default tax treatment (you did not file Form 8832 or 2553 to have it taxed as a corporation)?",qualifyingAnswer:"yes",disqualifyReason:"LLCs taxed as corporations need a different filing approach than the disregarded-entity flow we support."},{key:"hasUsSourceIncome",prompt:"Did your LLC earn any income treated as coming from the United States, for example from work done in the U.S., U.S. rents, or U.S. royalties?",helpText:"If all work was performed outside the US and the LLC had no
1U.S. real estate, U.S. royalties, or other U.S.-source passive income, answer No. U.S. clients or a U.S. bank account alone usually do not make the income U.S.-source.",qualifyingAnswer:"no",disqualifyReason:"LLCs with US-source income often need a full Form 1120 corporate return, which we don't support yet."},{key:"importsFromRelatedParty",prompt:"Does your LLC import goods from any foreign company that you (the owner) also own or are related to?",qualifyingAnswer:"no",disqualifyReason:"Importing goods from a related foreign party requires customs valuation reporting on Form 5472 that we don't support yet."},{key:"hasMultipleRelatedParties",prompt:"Did money or anything of value move between your LLC and a family member, or another foreign company you or your family own?",helpText:"Transactions include any movement of value, such as paying a family member for services or transferring funds between your companies.",qualifyingAnswer:"no",disqualifyReason:"Transactions with multiple related parties require filing a separate Form 5472 for each party, which we don't support yet."},{key:"hasLoansWithOwner",prompt:"Other than normal owner funding or owner withdrawals, did the LLC have any formal loans with the owner or a related foreign party?",helpText:"Formal loans have a set interest rate and repayment schedule. Standard capital contributions (funding the LLC) or distributions (taking profit out) are NOT formal loans.",qualifyingAnswer:"no",disqualifyReason:"Intercompany loans require transfer pricing analysis (safe-haven rates, Section 267A) that we don't support yet."},{key:"hasNonCashTransfers",prompt:"Has your LLC received or transferred any non-cash property (vehicles, equipment, real estate, intellectual property) to or from the owner?",helpText:'If you only contributed cash to the LLC, answer No. Your personal time, services, and "sweat equity" do not count as property transfers.',qualifyingAnswer:"no",disqualifyReason:"Non-cash property transfers require a separate IRS schedule describing each transaction, which we don't generate."},{key:"ownsOtherEntities",prompt:"Does your LLC own 20% or more of any other company (corporation, partnership, or trust)?",qualifyingAnswer:"no",disqualifyReason:"LLCs that own 20%+ of other entities require additional disclosure schedules (Schedule K Q5) that we don't support yet."},{key:"hasUsPresence",prompt:"Does your LLC have any U.S.-based employees, a U.S. office or warehouse, or someone working only for the LLC from inside the United States?",qualifyingAnswer:"no",disqualifyReason:"Having a physical US presence or US-based employees/exclusive contractors can create a US Trade or Business (USTOB), which requires filing Form 1120-F and paying US taxes, which we don't support yet."},{key:"hasDigitalAssets",prompt:"Did your LLC receive, sell, exchange, or otherwise dispose of any digital assets (cryptocurrency, NFTs, stablecoins) during the tax year?",helpText:"Simply holding crypto in a wallet doesn't need to be reported here. But if the LLC received crypto as payment, or paid for services/expenses with it, you must answer Yes.",qualifyingAnswer:"no",disqualifyReason:"Digital asset transactions require additional reporting on the Form 1120 Schedule K that we don't support yet."},{key:"hasOwnershipChanged",prompt:"Did the ownership change, or was the LLC closed, dissolved, sold, or liquidated during the tax year?",qualifyingAnswer:"no",disqualifyReason:"Ownership changes, sales, closures, or dissolutions during the year require a more complex filing path than we support."},{key:"hasRoyaltiesOrRentsToForeignCompany",prompt:"Other than normal software subscriptions or payments to freelancers, did the LLC pay royalties, IP licensing fees, or loan interest to a foreign person or company?",helpText:"Select NO for standard software subscriptions (e.g., Shopify, Canva) or paying foreign freelancers for services.",qualifyingAnswer:"no",disqualifyReason:"Your LLC may require specialized tax withholding and reporting (Form 1042/1042-S) for payments to foreign persons, which we do not support yet."}],p=[{title:"LLC setup",keys:["hasEin","isSingleMember","isForeignOwned","isDisregardedEntity"]},{title:"U.S. activity",keys:["hasUsSourceIncome","hasUsPresence"]},{title:"Related-party transactions",keys:["importsFromRelatedParty","hasMultipleRelatedParties","hasLoansWithOwner","hasNonCashTransfers","hasRoyaltiesOrRentsToForeignCompany"]},{title:"Other complexity checks",keys:["ownsOtherEntities","hasDigitalAssets"]},{title:"Year-end changes",keys:["hasOwnershipChanged"]}],f="filingResumeDraft";function g(e){return"dashboard"===e||"marketing"===e||"direct"===e?e:null}function y(e){let t=window.localStorage.getItem(f);if(!t)return null;try{let r=JSON.parse(t);if(1!==r.version||"number"!=typeof r.savedAt||!r.answers||"eligible"!==r.screeningResult&&"ineligible"!==r.screeningResult||Date.now()-r.savedAt>864e5)return window.localStorage.removeItem(f),null;let i=g(r.source)??"direct";if(!e?.allowAnySource&&e?.requestedSource&&i!==e.requestedSource)return null;
1return{version:1,savedAt:r.savedAt,source:i,answers:b(r.answers),screeningResult:r.screeningResult,disqualificationReasons:Array.isArray(r.disqualificationReasons)?r.disqualificationReasons:[],filingType:r.filingType??"current",pricingTier:r.pricingTier??"standard",priceLabel:r.priceLabel??"$199",pendingStartFiling:!!r.pendingStartFiling}}catch{return window.localStorage.removeItem(f),null}}function x(e){window.localStorage.setItem(f,JSON.stringify(e))}function w(){return{hasEin:"",isSingleMember:"",isForeignOwned:"",isDisregardedEntity:"",hasUsSourceIncome:"",importsFromRelatedParty:"",hasMultipleRelatedParties:"",hasLoansWithOwner:"",hasNonCashTransfers:"",ownsOtherEntities:"",hasUsPresence:"",hasDigitalAssets:"",hasOwnershipChanged:"",hasRoyaltiesOrRentsToForeignCompany:"",taxYear:2025}}function b(e){let t=w();if(!e)return t;let r="yes"===e.hasOwnershipChanged||"yes"===e.isDissolved?"yes":"no"===e.hasOwnershipChanged||"no"===e.isDissolved?"no":"";return{...t,taxYear:"number"==typeof e.taxYear?e.taxYear:t.taxYear,hasEin:e.hasEin??"",isSingleMember:e.isSingleMember??"",isForeignOwned:e.isForeignOwned??"",isDisregardedEntity:e.isDisregardedEntity??"",hasUsSourceIncome:e.hasUsSourceIncome??"",importsFromRelatedParty:e.importsFromRelatedParty??"",hasMultipleRelatedParties:e.hasMultipleRelatedParties??"",hasLoansWithOwner:e.hasLoansWithOwner??"",hasNonCashTransfers:e.hasNonCashTransfers??"",ownsOtherEntities:e.ownsOtherEntities??"",hasUsPresence:e.hasUsPresence??"",hasDigitalAssets:e.hasDigitalAssets??"",hasOwnershipChanged:r,hasRoyaltiesOrRentsToForeignCompany:e.hasRoyaltiesOrRentsToForeignCompany??""}}function v(e){let t=p.findIndex(t=>t.keys.includes(e));if(-1===t)return`${h.findIndex(t=>t.key===e)+1}`;let r=p[t].keys.indexOf(e);return`${t+1}.${r+1}`}function N(e){return h.flatMap(t=>{let r=e[t.key];return r&&r!==t.qualifyingAnswer?[{key:t.key,number:v(t.key),helpText:"helpText"in t?t.helpText:void 0,disqualifyReason:t.disqualifyReason}]:[]})}function k(){let e=(0,l.useRouter)(),i=(0,l.useSearchParams)(),{user:n,isLoading:k,signOut:S}=(0,u.useAuth)(),j=(0,r.useMemo)(()=>g(i.get("source")),[i]),C="1"===i.get("resume"),z=(0,r.useMemo)(()=>{try{return(0,m.createClient)()}catch{return null}},[]),[L,R]=(0,r.useState)(()=>w()),[T,A]=(0,r.useState)("screener"),[q,E]=(0,r.useState)(null),[I,F]=(0,r.useState)(null),[U,_]=(0,r.useState)(j??"direct"),[O,D]=(0,r.useState)(!1),[P,M]=(0,r.useState)(new Set),[Z,Y]=(0,r.useState)([]),[$,W]=(0,r.useState)(null),G=(0,r.useRef)({}),V=(0,r.useRef)(!1),B=(0,r.useRef)(!1),K=(0,r.useRef)(!1);(0,r.useEffect)(()=>{j&&_(j)},[j]),(0,r.useEffect)(()=>{"screener"!==T&&window.scrollTo({top:0,behavior:"smooth"})},[T]),(0,r.useEffect)(()=>{if("screener"!==T||!$)return;let e=window.requestAnimationFrame(()=>{G.current[$]?.scrollIntoView({behavior:"smooth",block:"center"})});return()=>window.cancelAnimationFrame(e)},[$,T]);let H=(0,r.useMemo)(()=>({filingType:"current",pricingTier:"standard",priceLabel:"$199"}),[]),J=(0,r.useMemo)(()=>N(L),[L]),Q=(0,r.useCallback)(e=>{R(b(e.answers)),A(e.screeningResult),_(e.source),Y([]),W(null),E(null)},[]),X=(0,r.useCallback)((e,t,r)=>{let i={version:1,savedAt:Date.now(),source:U,answers:L,screeningResult:e,disqualificationReasons:t,filingType:H.filingType,pricingTier:H.pricingTier,priceLabel:H.priceLabel,pendingStartFiling:r};return x(i),i},[L,H,U]),ee=(0,r.useCallback)(async({nextAnswers:t=L,source:r=U,plan:i=H,resumed:s=!1}={})=>{if(z&&n){D(!0),E(null);try{let{data:a,error:o}=await z.from("filings").insert({user_id:n.id,tax_year:t.taxYear,status:"draft",filing_type:i.filingType,submission_method:"plaid",updated_at:new Date().toISOString(),abandoned_recovery_started_at:new Date().toISOString(),abandoned_recovery_last_step:"draft_started"}).select("id").single();if(o)throw o;(0,c.trackGoogleEvent)("generate_lead",{currency:"USD",value:Number.parseInt(i.priceLabel.replace(/[^0-9]/g,""),10),filing_id:a.id,filing_type:i.filingType,pricing_tier:i.pricingTier,source:r}),s&&(0,c.trackGoogleEvent)("filing_resume_success",{filing_id:a.id,filing_type:i.filingType,pricing_tier:i.pricingTier,source:r}),window.localStorage.removeItem(f),e.push(`/filing/${a.id}`)}catch(e){E(e instanceof Error?e.message:"Failed to create filing. Please try again."),D(!1),s&&((0,c.trackGoogleEvent)("filing_resume_failed",{source:r}),F("We restored your eligibility result below. Review it and continue when youâre ready."))}}},[L,H,U,e,z,n]);if((0,r.useEffect)(()=>
1{if(B.current||!C&&!j)return;let e=y({requestedSource:j,allowAnySource:C});e&&(B.current=!0,Q(e))},[C,j,Q]),(0,r.useEffect)(()=>{C||V.current||((0,c.trackGoogleEvent)("screener_started",{source:j??U}),V.current=!0)},[U,C,j]),(0,r.useEffect)(()=>{if(!C||k||!n||K.current)return;K.current=!0;let e=y({allowAnySource:!0});e?(Q(e),"eligible"!==e.screeningResult)?F("We restored your saved screener answers. Continue whenever youâre ready."):e.pendingStartFiling?(x({...e,pendingStartFiling:!1}),ee({nextAnswers:e.answers,source:e.source,plan:{filingType:e.filingType,pricingTier:e.pricingTier,priceLabel:e.priceLabel},resumed:!0})):F("Youâre signed in. Review your eligibility result and continue when youâre ready."):F("We couldnât restore your saved eligibility result. Please review the screener and continue.")},[ee,k,C,Q,n]),k&&C)return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-zinc-50",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto mb-4 h-10 w-10 animate-spin rounded-full border-4 border-zinc-200 border-t-zinc-950"}),(0,t.jsx)("p",{className:"text-sm font-medium text-zinc-500",children:"Loading your filing workspaceâ¦"})]})});let et=(e,t)=>{let r=h.find(t=>t.key===e);R(r=>({...r,[e]:t})),A("screener"),Y(i=>r&&i.includes(e)&&t===r.qualifyingAnswer?i.filter(t=>t!==e):i),$===e&&W(null),F(null),E(null)},er=async()=>{((0,c.trackGoogleEvent)("eligible_cta_clicked",{auth_state:n?"authenticated":"signed_out",filing_type:H.filingType,pricing_tier:H.pricingTier,source:U}),n)?await ee():(X("eligible",[],!0),e.push(`/login?intent=filing&next=${encodeURIComponent("/filing/new?resume=1")}`))},ei=h.length,en=h.filter(e=>""!==L[e.key]).length,es=Math.round(en/ei*100),ea=!!n,eo="marketing"===U?"/filing/new?source=marketing":"dashboard"===U?"/filing/new?source=dashboard":"/filing/new",el=`/login?next=${encodeURIComponent(eo)}`;return(0,t.jsxs)("div",{className:"min-h-screen bg-white text-zinc-950 sm:bg-zinc-50",children:[(0,t.jsx)("header",{className:"border-b border-zinc-200/50 bg-white/80 backdrop-blur-xl",children:(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-6xl items-center justify-between gap-4 px-4 py-4 sm:px-6 lg:px-8",children:[(0,t.jsx)(o.default,{href:ea?"/dashboard":"/",className:"inline-flex items-center gap-2",children:(0,t.jsx)(a.default,{src:"/logo_text+icon.svg",alt:"5472Direct",width:186,height:44,priority:!0})}),ea?(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("span",{className:"hidden text-sm text-zinc-500 sm:block",children:n?.email}),(0,t.jsx)("button",{type:"button",onClick:async()=>{await S(),window.location.replace("/")},className:"cursor-pointer rounded-full border border-zinc-200/50 bg-white px-3 py-1.5 text-sm font-medium text-zinc-600 transition hover:bg-zinc-100 hover:text-zinc-900 hover:scale-[0.98]",children:"Sign out"})]}):(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:"hidden text-sm text-zinc-500 sm:block",children:"Already started?"}),(0,t.jsx)(o.default,{href:el,className:"inline-flex items-center justify-center rounded-full border border-zinc-200/50 bg-white px-4 py-2 text-sm font-medium text-zinc-700 transition hover:bg-zinc-50 hover:text-zinc-950",children:"Sign in"})]})]})}),(0,t.jsxs)("main",{className:"mx-auto w-full max-w-6xl px-4 py-10 sm:px-6 lg:px-8",children:[ea||"screener"!==T?null:(0,t.jsxs)("section",{className:"mx-auto mb-10 max-w-4xl text-center",children:[(0,t.jsx)("p",{className:"inline-flex items-center rounded-full border border-emerald-200 bg-emerald-50 px-4 py-1.5 text-xs font-semibold uppercase tracking-[0.18em] text-emerald-700",children:"Free screener · No account required"}),(0,t.jsx)("h1",{className:"mt-5 text-4xl font-semibold tracking-tight text-zinc-950 sm:text-5xl",children:"Check if your LLC qualifies before you create an account."})]}),I?(0,t.jsx)("p",{className:"mx-auto max-w-2xl mb-6 rounded-2xl border border-sky-200 bg-sky-50 px-4 py-3 text-sm text-sky-700",children:I}):null,"eligible"===T?(0,t.jsxs)("div",{className:"mx-auto max-w-2xl rounded-2xl border border-emerald-200 bg-emerald-50 p-6",children:[(0,t.jsx)("p",{className:"text-xs font-semibold tracking-wide text-emerald-600 uppercase",children:"â Eligible"}),(0,t.jsx)("h2",{className:"mt-2 text-2xl font-semibold tracking-tight text-zinc-950",children:"You qualify for 5472Direct!"}),(0,t.jsx)("p",{className:"mt-2 text-sm text-zinc-950",children:ea?"Your screener answers confirm eligibility. Continue to the filing wizard to enter your LLC details, owner information, and transactions.":"Your screener answers match our supported filing flow. Create your account to continue, and we'll take you straight into Step 1 of the filing wizard."}),(0,t.jsxs)("div",{className:"mt-4 rounded-xl border border-emerald-200 bg-white px-4 py-3 text-sm text-zinc-950",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1 sm:flex-row sm:items-center sm:gap-2",children:[(0,t.jsxs)("p",{children:["Filing type: ",(0,t.jsx)("strong",{className:"capitalize",children:H.filingType})]}),(0,t.jsx)("span",{className:"hidden text-zinc-400 sm:inline",children:"·"}),(0,t.jsxs)("p",{children:["Fee: ",(0,t.jsx)("strong",{children:H.priceLabel})]})]}),ea?null:(0,t.jsx)("p",{className:"mt-2 text-sm text-zinc-600",children:"Next step: sign in, then continue directly into your filing workspace."})]}),(0,t.jsx)("div",{className:"mt-6 flex w-full flex-col gap-3 sm:flex-row",children:(0,t.jsx)("button",{type:"button",onClick:er,disabled:O,className:"inline-flex h-12 w-full cursor-pointer items-center justify-center rounded-full bg-zinc-950 px-6 text-sm font-semibold text-white transition-all hover:bg-zinc-900 hover:scale-[0.98] disabled:cursor-not-allowed disabled:opacity-60 sm:w-auto",children:O?ea?"Creating filingâ¦":"Redirectingâ¦":ea?"Continue to Filing â":"Start my f
1iling â"})}),q?(0,t.jsx)("p",{className:"mt-4 rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-600",children:q}):null]}):"ineligible"===T?(0,t.jsxs)("div",{className:"mx-auto max-w-2xl rounded-2xl border border-red-200 bg-red-50 p-6",children:[(0,t.jsx)("h2",{className:"text-xl font-semibold text-red-600",children:"We can't help with your situation"}),(0,t.jsx)("p",{className:"mt-2 text-sm text-zinc-950",children:"Your answers indicate a more complex case than this v1 flow supports. A licensed CPA can make sure you file correctly."}),(0,t.jsx)("ul",{className:"mt-4 list-disc space-y-2 pl-5 text-sm text-zinc-950",children:J.map(e=>(0,t.jsxs)("li",{children:[(0,t.jsxs)("span",{className:"font-semibold text-zinc-950",children:["Question ",e.number,"."]})," ",e.disqualifyReason]},e.key))}),"no"===L.hasEin&&(0,t.jsxs)("div",{className:"mt-6 rounded-xl border border-zinc-300 bg-white px-5 py-4",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-zinc-950",children:"You need an EIN before this filing flow"}),(0,t.jsx)("p",{className:"mt-1 mb-4 text-sm text-zinc-600",children:"For our supported v1 flow, we do not support filing Form 5472 or Form 7004 before the LLC has an EIN. Obtain the EIN first, then come back and continue."}),(0,t.jsx)("a",{href:"https://www.irs.gov/businesses/small-businesses-self-employed/employer-id-numbers",target:"_blank",rel:"noreferrer",className:"cursor-pointer inline-flex rounded-full bg-zinc-950 px-6 py-3 text-sm font-semibold text-white transition-all hover:bg-zinc-900 hover:scale-[0.98]",children:"IRS EIN information â"}),(0,t.jsx)(d.TaxClaimReferralCard,{source:"filing_ineligible_ein",title:"Need CPA help instead?",description:"If you want help with this disqualified case now, our CPA partner TaxClaim may be able to help you take the next step.",className:"mt-4"})]}),"no"!==L.hasEin?(0,t.jsx)(d.TaxClaimReferralCard,{source:"filing_ineligible",className:"mt-6",description:"This case is outside the standard 5472Direct flow. If you want a CPA to review it, we can send you to our partner TaxClaim."}):null,(0,t.jsx)("div",{className:"mt-6 pt-6 border-t border-red-200/50",children:(0,t.jsx)("button",{type:"button",onClick:()=>{let e=J.map(e=>e.key);M(e=>{let t=new Set(e);return J.forEach(e=>{e.helpText&&t.add(e.key)}),t}),Y(e),W(e[0]??null),F(null),E(null),A("screener")},className:"cursor-pointer rounded-full border border-zinc-200/50 bg-white px-6 py-3 text-sm font-semibold text-zinc-600 transition-all hover:bg-zinc-50 hover:text-zinc-950",children:"Change answers"})})]}):null,"screener"===T?(0,t.jsxs)("section",{className:"mx-auto max-w-2xl rounded-none border-y border-zinc-200/50 border-x-0 bg-white p-6 shadow-none sm:rounded-[2rem] sm:border sm:p-10 sm:shadow-[0_20px_40px_-15px_rgba(0,0,0,0.03)]",children:[ea?(0,t.jsx)("h1",{className:"text-3xl font-semibold tracking-tight text-zinc-950",children:"Confirm your filing eligibility"}):null,(0,t.jsx)("p",{className:`text-sm leading-6 text-zinc-500 ${ea?"mt-3":""}`,children:ea?"We support single-member, foreign-owned, disregarded-entity LLCs with standard financial transactions. These questions protect you from using the wrong filing path.":"We support single-member, foreign-owned, disregarded-entity LLCs with standard financial transactions. If your case is too complex, we'll stop you here before you pay."}),(0,t.jsxs)("form",{className:"mt-8",onSubmit:e=>{if(e.preventDefault(),h.some(e=>!L[e.key]))return void E("Please answer every question before continuing.");let t=N(L),r=t.map(e=>e.disqualifyReason),i=r.length>0?"ineligible":"eligible";X(i,r,!1),(0,c.trackGoogleEvent)("screener_completed",{result:i,filing_type:H.filingType,pricing_tier:H.pricingTier,price_label:H.priceLabel,source:U}),F(null),E(null),Y(t.map(e=>e.key)),W(null),A(i)},children:[(0,t.jsxs)("div",{className:"sticky top-0 z-20 -mx-6 sm:-mx-10 px-6 sm:px-10 py-4 bg-white/95 backdrop-blur-md border-b border-zinc-100",children:[(0,t.jsx)("div",{className:"flex items-center justify-between mb-2",children:(0,t.jsxs)("p",{className:"text-sm font-medium text-zinc-500",children:[en," of ",ei," answered"]})}),(0,t.jsx)("div",{className:"h-1 w-full rounded-full bg-zinc-100 overflow-hidden",children:(0,t.jsx)("div",{className:"h-full bg-zinc-950 transition-all duration-300",style:{width:`${es}%`}})})]}),(0,t.jsx)("div",{className:"space-y-8",children:p.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-3 text-xs font-semibold uppercase tracking-[0.18em] text-zinc-400",children:e.title}),(0,t.jsx)("div",{className:"divide-y divide-zinc-100",children:e.keys.map(e=>{let r,i,n,a=h.find(t=>t.key===e),o=Z.includes(e),l=v(a.key);return(0,t.jsxs)("div",{ref:e=>{G.current[a.key]=e},className:`scroll-mt-32 py-5 transition-colors ${o?"rounded-xl bg-red-50/60 ring-1 ring-inset ring-red-200":""}`,children:[(0,t.jsx)("div",{className:"mb-3",children:(0,t.jsxs)("p",{className:"text-sm font-medium text-zinc-950 leading-relaxed",children:[l,"."," ",(i=(r=a.prompt.split(" ")).pop(),n=r.join(" "),(0,t.jsxs)(t.Fragment,{children:[n," ",(0,t.jsxs)("span",{className:"whitespace-nowrap",children:[i,"helpText"in a&&a.helpText&&(0,t.jsx)(s,{size:16,weight:"bold",className:"inline-block align-text-bottom ml-1.5 cursor-pointer text-gray-400 hover:text-black transition-colors",onClick:()=>{var e;return e=a.key,void M(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})}})]})]}))]})}),"helpText"in a&&a.helpText&&(0,t.jsx)("div",{className:"mb-4",children:P.has(a.key)&&(0,t.jsx)("p",{className:"text-sm text-zinc-600 bg-zinc-50/70 p-3 rounded-lg border border-zinc-100/80 leading-relaxed animate-in fade-in slide-in-from-top-1 duration-200",children:a.helpText})}),(0,t.jsxs)("div",{className:"flex gap-3 w-full",children:[(0,t.jsx)("button",{type:"button",onClick:()=>
1et(a.key,"yes"),className:`cursor-pointer flex-1 sm:flex-none inline-flex items-center justify-center rounded-full border px-5 py-2.5 text-sm font-medium transition-all ${"yes"===L[a.key]?"border-zinc-950 bg-zinc-950 text-white":"border-zinc-200 bg-white text-zinc-600 hover:border-zinc-300 hover:bg-zinc-50"}`,children:"Yes"}),(0,t.jsx)("button",{type:"button",onClick:()=>et(a.key,"no"),className:`cursor-pointer flex-1 sm:flex-none inline-flex items-center justify-center rounded-full border px-5 py-2.5 text-sm font-medium transition-all ${"no"===L[a.key]?"border-zinc-950 bg-zinc-950 text-white":"border-zinc-200 bg-white text-zinc-600 hover:border-zinc-300 hover:bg-zinc-50"}`,children:"No"})]})]},a.key)})})]},e.title))}),q?(0,t.jsx)("p",{className:"mb-6 rounded-xl border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-600",children:q}):null,(0,t.jsx)("button",{type:"submit",className:"cursor-pointer inline-flex w-full items-center justify-center rounded-full bg-zinc-950 px-6 py-3 text-sm font-semibold text-white transition-all hover:bg-zinc-900 hover:scale-[0.98]",children:"Continue"})]})]}):null]})]})}function S(){return(0,t.jsx)(r.Suspense,{fallback:(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-zinc-50",children:(0,t.jsx)("div",{className:"mx-auto h-10 w-10 animate-spin rounded-full border-4 border-zinc-200 border-t-zinc-950"})}),children:(0,t.jsx)(k,{})})}e.s(["default",()=>S],67350)}]);
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.