PageSourceSearch

https://www.sonsrayfleetservices.com/_next/static/chunks/app/(offer)/offer/%5Bslug%5D/page-43a0c1bb5c8e5fff.js

js sonsrayfleetservices.com collected 2026-10-04 16:17:28 UTC 84,331 bytes, 21 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3867],{12587:(e,t,s)=>{"use strict";s.d(t,{IdleCostCalculatorBlock:()=>b});var a=s(95155),l=s(12115),i=s(98500),r=s.n(i),n=s(51058),c=s(66088),o=s(32390),d=s(59222),x=s(21628),m=s(68822);let h={trucks:47,idleHoursPerDay:6,daysPerYear:355,idleGph:.8,apuGph:.25,dieselPrice:5.6,apuInstalledCost:13e3};function p(e,t=0){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:t,maximumFractionDigits:t}).format(e)}function u(e,t=0){return new Intl.NumberFormat("en-US",{minimumFractionDigits:t,maximumFractionDigits:t}).format(e)}function g(e,t){let s="string"==typeof e?parseFloat(e):e;return Number.isFinite(s)&&s>0?s:t}function b({block:e}){var t;let s=e.assumptions||{},i={trucks:g(s.trucks,h.trucks),idleHoursPerDay:g(s.idleHoursPerDay,h.idleHoursPerDay),daysPerYear:g(s.daysPerYear,h.daysPerYear),idleGph:g(s.idleGph,h.idleGph),apuGph:g(s.apuGph,h.apuGph),dieselPrice:g(s.dieselPrice,h.dieselPrice),apuInstalledCost:g(s.apuInstalledCost,h.apuInstalledCost)},f=e.eyebrow??"Idle Cost Calculator",j=e.heading||"What is idling costing your fleet?",w=e.ctaText||"Book an Idle Audit",v=e.ctaLink||"#quote-form",y=e.secondaryCtaText,N=e.secondaryCtaLink,k=!1!==e.showAssumptions,[C,A]=(0,l.useState)(String(i.trucks)),[S,$]=(0,l.useState)(String(i.idleHoursPerDay)),[D,T]=(0,l.useState)(i.dieselPrice.toFixed(2)),[P,F]=(0,l.useState)(!1),[L,z]=(0,l.useState)(String(i.idleGph)),[I,M]=(0,l.useState)(String(i.apuGph)),[E,B]=(0,l.useState)(String(i.daysPerYear)),[q,O]=(0,l.useState)(String(i.apuInstalledCost)),U={trucks:g(C,0),idleHoursPerDay:Math.min(24,g(S,0)),daysPerYear:Math.min(366,g(E,i.daysPerYear)),idleGph:g(L,i.idleGph),apuGph:g(I,i.apuGph),dieselPrice:g(D,i.dieselPrice),apuInstalledCost:g(q,i.apuInstalledCost)},G=(0,l.useMemo)(()=>{let e,t,s,a,l,i,r,n,c,o;return e={...h,...U},s=(t=e=>Number.isFinite(e)&&e>0?e:0)(e.trucks),i=(l=(a=t(e.idleHoursPerDay)*t(e.daysPerYear))*t(e.idleGph))*t(e.dieselPrice),o=(c=Math.max(0,i-(n=(r=a*t(e.apuGph))*t(e.dieselPrice))))>0?t(e.apuInstalledCost)/c*12:1/0,{idleHoursPerTruck:a,idleGallonsPerTruck:l,idleCostPerTruck:i,apuGallonsPerTruck:r,apuCostPerTruck:n,savingsPerTruck:c,recoveredShare:i>0?c/i:0,fleetIdleHours:a*s,fleetIdleGallons:l*s,fleetIdleCost:i*s,fleetApuCost:n*s,fleetSavings:c*s,fleetGallonsSaved:(l-r)*s,paybackMonths:o,fiveYearNet:5*c*s-t(e.apuInstalledCost)*s}},[U.trucks,U.idleHoursPerDay,U.daysPerYear,U.idleGph,U.apuGph,U.dieselPrice,U.apuInstalledCost]),Y=U.trucks>0&&U.idleHoursPerDay>0,R="w-full px-4 py-3 bg-[#0D0D0D] border border-white/15 rounded-lg focus:outline-none focus:ring-2 focus:border-transparent text-white text-lg font-semibold placeholder:text-white/30",H={"--tw-ring-color":"var(--landing-accent)"};return(0,a.jsx)("section",{className:"py-16 lg:py-24 bg-[#0D0D0D]",children:(0,a.jsxs)("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"text-center mb-10 lg:mb-12",children:[f&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:"var(--landing-accent)"},children:f}),(0,a.jsx)("h2",{className:"text-3xl lg:text-5xl font-black text-white whitespace-pre-line leading-tight",children:j}),e.subheading&&(0,a.jsx)("p",{className:"text-base lg:text-lg text-white/65 mt-4 max-w-2xl mx-auto whitespace-pre-line",children:e.subheading})]}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-[minmax(0,1fr)_minmax(0,1.1fr)] gap-6",children:[(0,a.jsxs)("div",{className:"rounded-2xl border border-white/10 bg-[#1A1A1A] p-7 lg:p-9",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-7",children:[(0,a.jsx)("div",{className:"w-11 h-11 rounded-lg flex items-center justify-center",style:{backgroundColor:"color-mix(in srgb, var(--landing-accent) 15%, transparent)"},children:(0,a.jsx)(n.A,{size:20,style:{color:"var(--landing-accent)"}})}),(0,a.jsx)("h3",{className:"text-xl font-bold text-white",children:"Build Your Idle Bill"})]}),(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"idle-trucks",className:"block text-sm font-semibold text-white mb-2",children:"Trucks in your fleet"}),(0,a.jsx)("input",{id:"idle-trucks",type:"text",inputMode:"numeric",value:C,onChange:e=>A(e.target.value.replace(/[^0-9]/g,"")),placeholder:"47",className:R,style:H})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"idle-hours",className:"block text-sm font-semibold text-white mb-2",children:"Idle hours per day"}),(0,a.jsx)("input",{id:"idle-hours",type:"text",inputMode:"decimal",value:S,onChange:e=>$(e.target.value.replace(/[^0-9.]/g,"")),placeholder:"6",className:R,style:H}),(0,a.jsx)("p",{className:"text-xs text-white/50 mt-2",children:"Sleeper rest, climate, hotel loads. Long-haul averages about 6."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"idle-diesel",className:"block text-sm font-semibold text-white mb-2",children:"Diesel price ($/gal)"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-white/50 font-semibold",children:"$"}),(0,a.jsx)("input",{id:"idle-diesel",type:"text",inputMode:"decimal",value:D,onChange:e=>T(e.target.value.replace(/[^0-9.]/g,"")),placeholder:i.dieselPrice.toFixed(2),className:`${R} pl-9`,style:H})]}),(0,a.jsxs)("p",{className:"text-xs text-white/50 mt-2",children:["DOE national average, week of Aug 31, 2026",". Use your fleet card average."]})]})]}
1),k&&(0,a.jsxs)("div",{className:"border-t border-white/10 pt-4",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>F(e=>!e),"aria-expanded":P,className:"flex w-full items-center justify-between text-sm font-semibold text-white/80 hover:text-white",children:[(0,a.jsx)("span",{children:"Assumptions"}),(0,a.jsx)(c.A,{size:16,className:`transition-transform ${P?"rotate-180":""}`})]}),P&&(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 mt-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"idle-gph",className:"block text-xs font-semibold text-white/80 mb-1.5",children:"Idling burn (gal/hr)"}),(0,a.jsx)("input",{id:"idle-gph",type:"text",inputMode:"decimal",value:L,onChange:e=>z(e.target.value.replace(/[^0-9.]/g,"")),className:`${R} text-base py-2.5`,style:H})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"apu-gph",className:"block text-xs font-semibold text-white/80 mb-1.5",children:"APU burn (gal/hr)"}),(0,a.jsx)("input",{id:"apu-gph",type:"text",inputMode:"decimal",value:I,onChange:e=>M(e.target.value.replace(/[^0-9.]/g,"")),className:`${R} text-base py-2.5`,style:H})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"idle-days",className:"block text-xs font-semibold text-white/80 mb-1.5",children:"Operating days / year"}),(0,a.jsx)("input",{id:"idle-days",type:"text",inputMode:"numeric",value:E,onChange:e=>B(e.target.value.replace(/[^0-9]/g,"")),className:`${R} text-base py-2.5`,style:H})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"apu-cost",className:"block text-xs font-semibold text-white/80 mb-1.5",children:"APU installed cost ($)"}),(0,a.jsx)("input",{id:"apu-cost",type:"text",inputMode:"numeric",value:q,onChange:e=>O(e.target.value.replace(/[^0-9]/g,"")),className:`${R} text-base py-2.5`,style:H})]})]})]})]})]}),(0,a.jsxs)("div",{className:"rounded-2xl border-2 bg-[#1A1A1A] overflow-hidden",style:{borderColor:Y?"color-mix(in srgb, var(--landing-accent) 45%, transparent)":"rgba(255,255,255,0.1)"},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-7 lg:px-9 py-4 border-b border-white/10 bg-white/[0.03]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(o.A,{size:16,style:{color:"var(--landing-accent)"}}),(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] text-white/70",children:"Idle Bill"})]}),(0,a.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider text-white/40",children:"Annual \xb7 Estimate"})]}),Y?(0,a.jsxs)("div",{className:"p-7 lg:p-9",style:{fontVariantNumeric:"tabular-nums"},children:[(0,a.jsxs)("dl",{className:"space-y-3 text-sm",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("dt",{className:"text-white/65",children:"Fleet idle hours"}),(0,a.jsxs)("dd",{className:"text-white font-semibold",children:[u(G.fleetIdleHours)," hrs"]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("dt",{className:"text-white/65",children:"Diesel burned standing still"}),(0,a.jsxs)("dd",{className:"text-white font-semibold",children:[u(G.fleetIdleGallons)," gal"]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("dt",{className:"text-white/65",children:"Diesel price"}),(0,a.jsxs)("dd",{className:"text-white font-semibold",children:[p(U.dieselPrice,2)," / gal"]})]})]}),(0,a.jsxs)("div",{className:"mt-5 pt-5 border-t border-dashed border-white/20",children:[(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] text-white/60",children:"Amount you are paying to idle"}),(0,a.jsx)("p",{className:"text-5xl sm:text-6xl font-black text-white leading-none mt-2",children:p(G.fleetIdleCost)}),(0,a.jsxs)("p",{className:"text-sm text-white/55 mt-2",children:[p(G.idleCostPerTruck)," per truck, every year."]})]}),(0,a.jsxs)("div",{className:"mt-6 rounded-xl p-5",style:{backgroundColor:"color-mix(in srgb, var(--landing-accent) 12%, transparent)"},children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,a.jsx)(d.A,{size:16,style:{color:"var(--landing-accent)"}}),(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em]",style:{color:"var(--landing-accent)"},children:"With a TriPac APU"})]}),(0,a.jsxs)("dl",{className:"space-y-2.5 text-sm",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("dt",{className:"text-white/70",children:"APU fuel for the same hours"}),(0,a.jsx)("dd",{className:"text-white font-semibold",children:p(G.fleetApuCost)})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("dt",{className:"text-white/70",children:"Recoverable every year"}),(0,a.jsx)("dd",{className:"text-2xl font-black",style:{color:"var(--landing-accent)"},children:p(G.fleetSavings)})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsxs)("dt",{className:"text-white/70",children:["That is ",Math.round(100*G.recoveredShare),"% of the bill \xb7 per truck"]}),(0,a.jsxs)("dd",{className:"text-white font-semibold",children:[p(G.savingsPerTruck)," / yr"]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsxs)("dt",{className:"text-white/70",children:["Payback on a ",p(U.apuInstalledCost)," install"]}),(0,a.jsx)("dd",{className:"text-white font-semibold",children:Number.isFinite(t=G.paybackMonths)?t<1?"under a month":t<=24?`${Math.round(t)} months`:`${(t/12).toFixed(1)} years`:"n/a"})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("dt",{className:"text-white/70",children:"Five-year net, after buying the APUs"}),(0,a.jsx)("dd",{className:"text-white font-semibold",children:p(G.fiveYearNet)})]})]})]}),(0,a.jsxs)("div",{className:"mt-6 flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)(r(),{href:v,className:"inline-flex flex-1 items-center justify-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white transition-transform hover:scale-[1.02]",style:{backgroundColor:"var(--landing-accent)"},children:[w,(0,a.jsx)(x.A,{size:14})]}),y&&N&&(0,a.jsx)(r(),{href:N,className:"inline-flex flex-1 items-center justify-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white border border-white/20 hover:border-white/50 transition-colors",children:y})]})]}):(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-16 px-8 text-center text-white/40",children:[(0,a.jsx)(o.A,{size:40,className:"mb-4 opacity-40"}),(0,a.jsx)("p",{className:"text-sm",children:"Enter your truck count and idle hours to see your Idle Bill."})]})]})]}),(0,a.jsxs)("div",{className:"mt-8 rounded-xl bg-[#1A1A1A] border border-white/10 p-5 flex gap-3",children:[(0,a.jsx)(m.A,{className:"w-5 h-5 text-white/50 shrink-0 mt-0.5"}),(0,a.jsx)("p",{className:"text-xs text-white/55 leading-relaxed whitespace-pre-line",children:e.disclaimer||(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-white/85 font-semibold",children:"Estimate only."})," Fuel savings depend on your routes, climate, driver habits, and duty cycle. Default burn rates follow U.S. Department of Energy idle-reduction research (about ",h.idleGph," gal/hr idling) and Thermo King TriPac published consumption (about ",h.apuGph,"gal/hr). Payback excludes maintenance savings and engine-hour reduction, which typically improve the result. An Idle Audit replaces these assumptions with your fleet's own data."]})})]})]})})}},15610:(e,t,s)=>{"use strict";s.d(t,{LandingFooter:()=>h});var a=s(95155),l=s(5772),i=s(98500),r=s.n(i),n=s(85118),c=s(92289),o=s(24538),d=s(96035),x=s(44753),m=s(37507);function h({page:e}){let t=(0,x.Ku)(),s=e.footer||{},i=(0,m.PW)(t.logoWhite)||(0,m.PW)(t.logo);return(0,a.jsxs)("footer",{className:"bg-[#0D0D0D] border-t border-white/10 mt-0",children:[(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 lg:py-16",children:(0,a.jsxs)("div",{className:"grid md:grid-cols-3 gap-10",children:[(0,a.jsxs)("div",{children:[i&&(0,a.jsx)(l.default,{src:i,alt:t.name,width:180,height:40,className:"h-8 w-auto mb-4",unoptimized:!0}),s.description&&(0,a.jsx)("p",{className:"text-sm text-white/60 leading-relaxed max-w-sm",children:s.description})]}),(0,a.jsx)("div",{children:s.links&&s.links.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h3",{className:"text-xs font-bold uppercase tracking-wider text-white mb-4",children:"Qu
1ick Links"}),(0,a.jsx)("ul",{className:"space-y-2.5",children:s.links.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(r(),{href:e.link,className:"text-sm text-white/60 hover:text-white transition-colors",children:e.label})},e.label))})]})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-xs font-bold uppercase tracking-wider text-white mb-4",children:"Contact"}),(0,a.jsxs)("ul",{className:"space-y-2.5 text-sm text-white/70",children:[s.contactPhone&&(0,a.jsx)("li",{children:(0,a.jsxs)("a",{href:`tel:${s.contactPhone.replace(/\D/g,"")}`,className:"inline-flex items-center gap-2 hover:text-white transition-colors",children:[(0,a.jsx)(n.A,{size:14}),s.contactPhone]})}),s.contactEmail&&(0,a.jsx)("li",{children:(0,a.jsxs)("a",{href:`mailto:${s.contactEmail}`,className:"inline-flex items-center gap-2 hover:text-white transition-colors",children:[(0,a.jsx)(c.A,{size:14}),s.contactEmail]})}),s.contactAddress&&(0,a.jsxs)("li",{className:"inline-flex items-start gap-2",children:[(0,a.jsx)(o.A,{size:14,className:"mt-1 shrink-0"}),(0,a.jsx)("span",{children:s.contactAddress})]})]}),s.ctaText&&s.ctaLink&&(0,a.jsxs)("a",{href:s.ctaLink,className:"inline-flex items-center gap-2 mt-5 px-4 py-2.5 rounded-md text-sm font-bold text-white",style:{backgroundColor:"var(--landing-accent)"},children:[(0,a.jsx)(d.A,{size:14}),s.ctaText]})]})]})}),s.attribution&&(0,a.jsx)("div",{className:"border-t border-white/10",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 text-center text-xs text-white/45",children:s.attribution})}),(0,a.jsx)("div",{className:"border-t border-white/10",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-5 text-xs text-white/45 flex flex-wrap justify-between gap-2",children:(0,a.jsx)("p",{children:s.legal||`\xa9 ${new Date().getFullYear()} ${t.name}. All Rights Reserved.`})})})]})}},18364:(e,t,s)=>{"use strict";s.d(t,{E:()=>i});var a=s(95155),l=s(12115);function i(){let e=(0,l.useRef)(0);(0,l.useEffect)(()=>{e.current||(e.current=Date.now())},[]);let[t,s]=(0,l.useState)("");return{guardValues:()=>({hp:t,formStartedAt:e.current}),honeypotField:(0,a.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",left:"-9999px",top:"auto",width:1,height:1,overflow:"hidden"},children:(0,a.jsxs)("label",{children:["Website",(0,a.jsx)("input",{type:"text",name:"contact_website",tabIndex:-1,autoComplete:"off",value:t,onChange:e=>s(e.target.value)})]})})}}},22038:(e,t,s)=>{"use strict";s.d(t,{$:()=>i});var a=s(95155),l=s(25687);function i({name:e,fallback:t,...s}){if(!e)return t?(0,a.jsx)(t,{...s}):null;let r=l[e.split(/[-_\s]+/).map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join("")];return r?(0,a.jsx)(r,{...s}):t?(0,a.jsx)(t,{...s}):null}},23382:(e,t,s)=>{"use strict";s.d(t,{LandingNav:()=>p});var a=s(95155),l=s(12115),i=s(5772),r=s(98500),n=s.n(r),c=s(85118),o=s(33210),d=s(29857),x=s(44753),m=s(37507),h=s(36581);function p({page:e}){let t=(0,x.Ku)(),s=(0,l.useMemo)(()=>(0,h.Z)(e.layout||[]),[e.layout]),r=e.navCtaText,u=e.navCtaLink,g=e.navPhoneText||"844-SONSRAY",b=e.navPhoneLink||"tel:+18447667729",f=e.navBannerText?.trim(),j=e.navBannerLink?.trim(),w="object"==typeof e.brandLogo&&null!==e.brandLogo?e.brandLogo.url:void 0,v=(0,m.PW)(t.logoWhite)||(0,m.PW)(t.logo),[y,N]=(0,l.useState)(!1),[k,C]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{function e(){N(window.scrollY>60)}return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("header",{className:"sticky top-0 z-50 transition-shadow backdrop-blur-md",style:{background:"rgba(13,13,13,0.9)",boxShadow:y?"0 8px 24px rgba(0,0,0,0.25)":"none",borderBottom:"1px solid rgba(255,255,255,0.08)"},children:[(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 lg:h-20 flex items-center justify-between gap-6",children:[(0,a.jsxs)(n(),{href:"/",className:"flex items-center gap-3 shrink-0",children:[v&&(0,a.jsx)(i.default,{src:v,alt:t.name,width:140,height:32,className:"h-7 lg:h-8 w-auto",unoptimized:!0}),w&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"h-7 w-px bg-white/30","aria-hidden":!0}),(0,a.jsx)(i.default,{src:w,alt:"Partner brand",width:140,height:32,className:"h-6 lg:h-8 w-auto",unoptimized:!0})]})]}),(0,a.jsxs)("nav",{className:"hidden lg:flex items-center gap-4 xl:gap-7",children:[s.map(e=>(0,a.jsx)("a",{href:e.link,className:"text-sm font-medium text-white/80 hover:text-white transition-colors whitespace-nowrap",children:e.label},e.label)),(0,a.jsxs)("a",{href:b,className:"hidden lg:inline-flex items-center gap-2 px-3 xl:px-4 py-2.5 rounded-md text-sm font-bold text-white border-2 transition-colors hover:bg-white/10 whitespace-nowrap shrink-0",style:{borderColor:"var(--landing-accent)"},"aria-label":`Call ${g}`,children:[(0,a.jsx)(c.A,{size:16,style:{color:"var(--landing-accent)"}}),(0,a.jsx)("span",{className:"hidden 2xl:inline",children:g})]}),r&&u&&(0,a.jsx)("a",{href:u,className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-md text-sm font-bold text-white transition-colors whitespace-nowrap shrink-0",style:{backgroundColor:"var(--landing-accent)"},children:r})]}),(0,a.jsxs)("div",{className:"lg:hidden flex items-center gap-2",children:[(0,a.jsxs)("a",{href:b,className:"inline-flex items-center gap-1.5 px-3 py-2 rounded-md text-xs font-bold text-white border-2",style:{borderColor:"var(--landing-accent)"},"aria-label":`Call ${g}`,children:[(0,a.jsx)(c.A,{size:14,style:{color:"var(--landing-accent)"}}),g]}),(0,a.jsx)("button",{type:"button",className:"text-white p-2",onClick:()=>C(e=>!e),"aria-label":"Toggle menu",children:k?(0,a.jsx)(o.A,{size:22}):(0,a.jsx)(d.A,{size:22})})]})]}
1),k&&(0,a.jsx)("div",{className:"lg:hidden border-t border-white/10 bg-[#0D0D0D]",children:(0,a.jsxs)("nav",{className:"px-4 py-4 flex flex-col gap-1",children:[s.map(e=>(0,a.jsx)("a",{href:e.link,className:"py-3 text-sm font-medium text-white/85 hover:text-white",onClick:()=>C(!1),children:e.label},e.label)),r&&u&&(0,a.jsx)("a",{href:u,onClick:()=>C(!1),className:"mt-2 px-5 py-3 rounded-md text-sm font-bold text-white text-center",style:{backgroundColor:"var(--landing-accent)"},children:r})]})})]}),f&&(j?(0,a.jsx)("a",{href:j,className:"block px-4 py-3 text-center text-sm sm:text-base font-bold text-white hover:brightness-110 transition",style:{backgroundColor:"var(--landing-accent)"},children:f}):(0,a.jsx)("div",{className:"px-4 py-3 text-center text-sm sm:text-base font-bold text-white",style:{backgroundColor:"var(--landing-accent)"},children:f}))]})}},26623:(e,t,s)=>{"use strict";s.d(t,{HZ:()=>h,I5:()=>a,Qg:()=>r,Wd:()=>l,_9:()=>d,j4:()=>x,oM:()=>n,qo:()=>c,rx:()=>o,uS:()=>i,vv:()=>m});let a=256e4,l=409e4,i=1,r=2026,n=665e4,c=`${(100*i).toFixed(0)}%`,o=`$${(a/1e6).toFixed(2)}M`,d=`${(l/1e6).toFixed(2)}M`,x=[{label:"21%",value:.21,hint:"Corporate"},{label:"24%",value:.24,hint:"Common SMB"},{label:"32%",value:.32},{label:"35%",value:.35},{label:"37%",value:.37,hint:"Top"}];function m(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0}).format(e)}function h(e){let t=e=>Number.isFinite(e)?Math.min(1,Math.max(0,e)):0,s=e=>Number.isFinite(e)&&e>0?e:0,r=s(e.cost),n=t(e.taxRate),c=!1!==e.includeBonus,o=void 0===e.businessUsePct?1:t(e.businessUsePct),d=s(e.otherPurchases),x=r*o,m=x+d,h=Math.max(0,m-l),p=Math.max(0,a-h),u=o>.5,g=u?Math.min(x,p):0,b=Math.min(g,void 0===e.taxableIncome?1/0:s(e.taxableIncome)),f=g-b,j=x-g,w=c&&u?j*i:0,v=b+w,y=Math.max(0,j-w),N=v*n;return{eligibleBasis:x,excludedByBusinessUse:r-x,totalQualifying:m,section179Deduction:b,bonusDeduction:w,totalDeduction:v,taxSavings:N,netCost:r-N,phaseOut:h,adjustedLimit:p,remainingBasis:y,belowBusinessUseThreshold:r>0&&!u,qualifies:u,section179BeforeIncomeLimit:g,incomeLimited:f>0,carryforward:f}}},35600:(e,t,s)=>{"use strict";s.d(t,{Section179CalculatorBlock:()=>g});var a=s(95155),l=s(12115),i=s(98500),r=s.n(i),n=s(51058),c=s(41585),o=s(68822),d=s(21628),x=s(26623),m=s(40689);function h(e){let t=parseFloat(e.replace(/[,$\s]/g,""));return Number.isFinite(t)&&t>0?t:0}function p(e,t){let s=parseFloat(e.replace(/[^0-9.-]/g,""));return Number.isFinite(s)?Math.min(100,Math.max(0,s)):t}function u({label:e,value:t,strong:s,warn:l}){return(0,a.jsxs)("div",{className:"flex justify-between items-center gap-4",children:[(0,a.jsx)("dt",{className:l?"text-amber-300":s?"text-white":"text-white/65",children:e}),(0,a.jsx)("dd",{className:`w-28 shrink-0 text-right font-semibold ${l?"text-amber-300":"text-white"}`,children:t})]})}function g({block:e}){let t=e.brandName?.trim(),s=t?`${t} `:"",i=e.eyebrow??"Tax Savings Estimator",b=e.heading||`Estimate your ${x.Qg} ${s}write-off in seconds.`,f=e.ctaText||"Get a Quote on This Machine",j=e.ctaLink||"#quote-form",w=e.secondaryCtaText,v=e.secondaryCtaLink,y=!1!==e.showLimitsCard,N=!1!==e.showBonusDepreciation,k=!0===e.showBusinessUse,C=!0===e.showOtherPurchases,A=!0===e.taxRateInput,S=!1!==e.showNetCost,$=!0===e.showTaxableIncome,D=!1!==e.bonusCheckbox,T=Number(e.defaultTaxRate)>0?Number(e.defaultTaxRate):24,P=e.costLabel||"Equipment Cost",F=e.costHelp||"Enter the total purchase or financed amount (new or used qualifies).",L=e.rateLabel||"Estimated Federal Tax Rate",z=e.rateHelp||"Use your federal rate. State treatment differs. An estimate for illustration only.",I=e.resultNote?.trim(),M=e.breakdownNote?.trim(),[E,B]=(0,l.useState)(""),[q,O]=(0,l.useState)(.24),[U,G]=(0,l.useState)(String(T)),[Y,R]=(0,l.useState)("100"),[H,_]=(0,l.useState)(""),[W,Q]=(0,l.useState)(""),[V,Z]=(0,l.useState)(!0),K=h(E),J=A?p(U,T)/100:q,X=k?p(Y,100)/100:1,ee=C?h(H):0,et=$?h(W):0,es=N&&(!D||V),ea=(0,l.useMemo)(()=>(0,x.HZ)({cost:K,taxRate:J,includeBonus:es,businessUsePct:X,otherPurchases:ee,taxableIncome:et>0?et:void 0}),[K,J,es,X,ee,et]),el=e=>K>0?(0,x.vv)(e):"—",ei=k?"Equipment & installation cost":"Equipment cost",er=K<=0?{warn:!1,text:"Enter an equipment cost to see your preliminary estimate."}
1:ea.qualifies?ea.incomeLimited?{warn:!0,text:`Section 179 is limited to your taxable business income. The disallowed ${(0,x.vv)(ea.carryforward)} generally carries forward to later years.`}:ea.adjustedLimit<=0?{warn:!0,text:`Your total qualifying purchases are at or above ${(0,x.vv)(x.oM)}, where the Section 179 deduction is fully phased out.`}:ea.phaseOut>0?{warn:!0,text:`Phaseout begins above ${(0,x.vv)(x.Wd)} of total qualifying purchases, so the Section 179 limit available to you is reduced.`}:ea.remainingBasis>0?{warn:!1,text:"Remaining qualifying basis may be eligible for bonus depreciation or regular depreciation."+(N?"":" This calculator estimates Section 179 only.")}:{warn:!1,text:"Illustration only. Eligibility and actual tax savings depend on your individual tax circumstances."}:{warn:!0,text:"Business use must exceed 50%. At or below that, this estimate shows no Section 179 deduction. Consult your tax adviser."},en="w-full px-4 py-3.5 bg-[#0D0D0D] border border-white/15 rounded-lg focus:outline-none focus:ring-2 focus:border-transparent text-white text-lg font-semibold placeholder:text-white/30",ec={"--tw-ring-color":"var(--landing-accent)"};return(0,a.jsx)("section",{className:"py-16 lg:py-24 bg-[#0D0D0D]",children:(0,a.jsxs)("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"text-center mb-10 lg:mb-12",children:[i&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:"var(--landing-accent)"},children:i}),(0,a.jsx)("h2",{className:"text-3xl lg:text-5xl font-black text-white whitespace-pre-line leading-tight",children:b}),e.subheading&&(0,a.jsx)("p",{className:"text-base lg:text-lg text-white/65 mt-4 max-w-2xl mx-auto whitespace-pre-line",children:e.subheading})]}),y&&(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-px rounded-2xl overflow-hidden border border-white/10 bg-white/10 mb-8",style:{fontVariantNumeric:"tabular-nums"},children:[(0,a.jsxs)("div",{className:"bg-[#1A1A1A] px-6 py-5 text-center",children:[(0,a.jsx)("p",{className:"text-3xl lg:text-4xl font-black text-white",children:(0,x.vv)(x.I5)}),(0,a.jsxs)("p",{className:"text-xs font-bold uppercase tracking-wider text-white/60 mt-1",children:[x.Qg," maximum deduction"]})]}),(0,a.jsx)("div",{className:"bg-[#1A1A1A] px-6 py-5 text-center",children:N?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"text-3xl lg:text-4xl font-black text-white",children:x.qo}),(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-wider text-white/60 mt-1",children:"Bonus depreciation on remainder"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"text-3xl lg:text-4xl font-black text-white",children:(0,x.vv)(x.Wd)}),(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-wider text-white/60 mt-1",children:"Phaseout begins above"})]})}),(0,a.jsxs)("div",{className:"bg-[#1A1A1A] px-6 py-5 text-center",children:[(0,a.jsx)("p",{className:"text-3xl lg:text-4xl font-black text-white",children:"Dec 31"}),(0,a.jsxs)("p",{className:"text-xs font-bold uppercase tracking-wider text-white/60 mt-1",children:["Placed in service by ",x.Qg,"-12-31"]})]})]}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-[minmax(0,1.1fr)_minmax(0,1fr)] gap-6",children:[(0,a.jsxs)("div",{className:"rounded-2xl border border-white/10 bg-[#1A1A1A] p-7 lg:p-9",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-7",children:[(0,a.jsx)("div",{className:"w-11 h-11 rounded-lg flex items-center justify-center",style:{backgroundColor:"color-mix(in srgb, var(--landing-accent) 15%, transparent)"},children:(0,a.jsx)(n.A,{size:20,style:{color:"var(--landing-accent)"}})}),(0,a.jsx)("h3",{className:"text-xl font-bold text-white",children:"Estimate Your Deduction"})]}),(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"s179-cost",className:"block text-sm font-semibold text-white mb-2",children:P}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-white/50 font-semibold",children:"$"}),(0,a.jsx)(m.F,{id:"s179-cost",value:E,onChange:B,placeholder:"150,000",className:`${en} pl-9`,style:ec})]}),(0,a.jsx)("p",{className:"text-xs text-white/50 mt-2",children:F})]}
1),k&&(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"s179-business-use",className:"block text-sm font-semibold text-white mb-2",children:"Business-Use Percentage"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{id:"s179-business-use",type:"text",value:Y,onChange:e=>R(e.target.value.replace(/[^0-9.]/g,"")),placeholder:"100",inputMode:"decimal",className:`${en} pr-10`,style:ec}),(0,a.jsx)("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-white/50 font-semibold",children:"%"})]}),(0,a.jsx)("p",{className:"text-xs text-white/50 mt-2",children:"Business use must exceed 50%; the deduction is generally limited to the business-use portion."})]}),(0,a.jsx)("div",{children:A?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("label",{htmlFor:"s179-rate",className:"block text-sm font-semibold text-white mb-2",children:L}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{id:"s179-rate",type:"text",value:U,onChange:e=>G(e.target.value.replace(/[^0-9.]/g,"")),placeholder:"24",inputMode:"decimal",className:`${en} pr-10`,style:ec}),(0,a.jsx)("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-white/50 font-semibold",children:"%"})]}),(0,a.jsx)("p",{className:"text-xs text-white/50 mt-2",children:z})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"block text-sm font-semibold text-white mb-2",children:"Federal Tax Bracket"}),(0,a.jsx)("div",{className:"grid grid-cols-5 gap-2",children:x.j4.map(e=>{let t=q===e.value;return(0,a.jsx)("button",{type:"button",onClick:()=>O(e.value),"aria-pressed":t,className:`py-3 rounded-lg font-bold text-sm transition-all ${t?"text-[#0D0D0D] shadow-lg":"bg-[#0D0D0D] text-white hover:bg-white/5 border border-white/10"}`,style:t?{backgroundColor:"var(--landing-accent)"}:void 0,children:e.label},e.label)})}),(0,a.jsx)("p",{className:"text-xs text-white/50 mt-2",children:"Pick the bracket that matches your filing status."})]})}),C&&(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"s179-other",className:"block text-sm font-semibold text-white mb-2",children:"Other Qualifying Purchases This Year"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-white/50 font-semibold",children:"$"}),(0,a.jsx)(m.F,{id:"s179-other",value:H,onChange:_,placeholder:"0",className:`${en} pl-9`,style:ec})]}),(0,a.jsxs)("p",{className:"text-xs text-white/50 mt-2",children:["Only affects your estimate if your total ",x.Qg," equipment purchases exceed ",(0,x.vv)(x.Wd),". Most customers can leave this blank."]})]}),$&&(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"s179-income",className:"block text-sm font-semibold text-white mb-2",children:"Estimated Taxable Business Income Available for Section 179"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-white/50 font-semibold",children:"$"}),(0,a.jsx)(m.F,{id:"s179-income",value:W,onChange:Q,placeholder:"Optional",className:`${en} pl-9`,style:ec})]}),(0,a.jsx)("p",{className:"text-xs text-white/50 mt-2",children:"Optional. Section 179 cannot exceed your taxable business income for the year; any disallowed amount generally carries forward. Leave blank to skip this limit."})]}),N&&D&&(0,a.jsxs)("label",{className:"flex items-start gap-3 cursor-pointer pt-2",children:[(0,a.jsx)("input",{type:"checkbox",checked:V,onChange:e=>Z(e.target.checked),className:"mt-0.5 w-4 h-4 rounded border-white/30 bg-[#0D0D0D]",style:{accentColor:"var(--landing-accent)"}}),(0,a.jsxs)("span",{children:[(0,a.jsxs)("span",{className:"block text-sm text-white font-semibold",children:["Include ",x.qo," bonus depreciation on remainder"]}),(0,a.jsxs)("span",{className:"block text-xs text-white/50 mt-0.5",children:["Applies to cost above the \xa7179 cap. ",x.qo," bonus depreciation is permanent for ",x.Qg," under current federal law."]})]})]})]})]}),(0,a.jsxs)("div",{className:"rounded-2xl border-2 p-7 lg:p-9 bg-[#1A1A1A] flex flex-col",style:{borderColor:K>0?"color-mix(in srgb, var(--landing-accent) 45%, transparent)":"rgba(255,255,255,0.1)"},"aria-live":"polite",children:[(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] text-white/50 mb-2",children:"Preliminary Federal Estimate"}),(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)("p",{className:"text-xs text-white/60",children:"Estimated Tax Savings"}),(0,a.jsx)("p",{className:`text-5xl sm:text-6xl font-black leading-none mt-1 ${K>0?"text-white":"text-white/25"}`,style:{fontVariantNumeric:"tabular-nums"},children:(0,x.vv)(ea.taxSavings)}),I&&(0,a.jsx)("p",{className:"mt-3 text-xs text-white/60 leading-relaxed whitespace-pre-line",children:I})]}),(0,a.jsxs)("dl",{className:"space-y-3 text-sm border-t border-white/10 pt-5",style:{fontVariantNumeric:"tabular-nums"},children:[(0,a.jsx)(u,{label:ei,value:el(K)}
1),k&&(0,a.jsx)(u,{label:`Business-use portion (${+(100*X).toFixed(2)}%)`,value:el(ea.eligibleBasis)}),C&&(0,a.jsx)(u,{label:"Section 179 limit available",value:el(ea.adjustedLimit),warn:K>0&&ea.phaseOut>0}),(0,a.jsx)(u,{label:"Preliminary Section 179 deduction",value:el(ea.section179Deduction),strong:!0}),$&&(0,a.jsx)(u,{label:"Section 179 carried forward (income limit)",value:el(ea.carryforward),warn:K>0&&ea.incomeLimited}),N&&(0,a.jsx)(u,{label:`Potential ${x.qo} bonus depreciation on remaining basis`,value:el(ea.bonusDeduction)}),N&&(0,a.jsx)(u,{label:"Total first-year deduction",value:el(ea.totalDeduction),strong:!0}),S&&(0,a.jsxs)("div",{className:"flex justify-between items-center pt-3 border-t border-white/10",children:[(0,a.jsx)("dt",{className:"text-white/65",children:"Estimated net cost"}),(0,a.jsx)("dd",{className:"text-2xl font-black",style:{color:"var(--landing-accent)"},children:el(ea.netCost)})]})]}),(0,a.jsxs)("div",{className:`mt-5 flex gap-2.5 rounded-lg border p-3.5 min-h-[7.5rem] sm:min-h-[5.25rem] ${er.warn?"border-amber-500/40 bg-amber-500/10":"border-white/10 bg-white/[0.03]"}`,children:[er.warn?(0,a.jsx)(c.A,{size:16,className:"text-amber-300 shrink-0 mt-0.5"}):(0,a.jsx)(o.A,{size:16,className:"text-white/40 shrink-0 mt-0.5"}),(0,a.jsx)("p",{className:`text-xs leading-relaxed ${er.warn?"text-amber-200/90":"text-white/55"}`,children:er.text})]}),M&&(0,a.jsx)("p",{className:"mt-4 text-xs text-white/55 leading-relaxed whitespace-pre-line",children:M}),(0,a.jsxs)("div",{className:"mt-auto pt-6 flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)(r(),{href:j,className:"inline-flex flex-1 items-center justify-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white transition-transform hover:scale-[1.02]",style:{backgroundColor:"var(--landing-accent)"},children:[f,(0,a.jsx)(d.A,{size:14})]}),w&&v&&(0,a.jsx)(r(),{href:v,className:"inline-flex flex-1 items-center justify-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white border border-white/20 hover:border-white/50 transition-colors",children:w})]})]})]}),(0,a.jsxs)("div",{className:"mt-8 rounded-xl bg-[#1A1A1A] border border-white/10 p-5 flex gap-3",children:[(0,a.jsx)(o.A,{className:"w-5 h-5 text-white/50 shrink-0 mt-0.5"}),(0,a.jsx)("p",{className:"text-xs text-white/55 leading-relaxed whitespace-pre-line",children:e.disclaimer||(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-white/85 font-semibold",children:"Estimate only."})," Results are illustrations and do not determine whether a purchase qualifies. This calculator uses ",x.Qg," federal limits: Section 179 maximum ",x.rx,", phaseout beginning at ",x._9,N?`, bonus depreciation ${(100*x.uS).toFixed(0)}%`:"",". It does not account for every vehicle, income, entity, state, or depreciation rule. Section 179 is a federal tax deduction, not a rebate or tax credit, and is subject to your taxable business income. State conformity varies and several states, including California, use significantly lower limits. Consult a qualified tax adviser regarding your situation."]})})]})]})})}},36581:(e,t,s)=>{"use strict";function a(e){return e?e.toString().trim().toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-"):""}function l(e){if(!e)return[];let t=[];for(let s of e){let e=s?.sectionName?.trim();if(!e)continue;let l=a(e);l&&t.push({label:e,link:`#${l}`})}return t}s.d(t,{Q:()=>a,Z:()=>l})},37507:(e,t,s)=>{"use strict";function a(e){if(e&&"string"!=typeof e)return e.url??void 0}function l(e){return"sonsray-fleet-services"===e.slug}function i(e){return"sonsray-corporate"===e.slug}function r(e){return"sonsray-rental-leasing"===e.slug}s.d(t,{PW:()=>a,Yt:()=>r,bS:()=>l,gP:()=>i})},40689:(e,t,s)=>{"use strict";s.d(t,{F:()=>i});var a=s(95155),l=s(12115);function i({id:e,value:t,onChange:s,placeholder:r,className:n,style:c}){let o=(0,l.useRef)(null),d=(0,l.useRef)(null);return(0,l.useLayoutEffect)(()=>{let e=o.current,t=d.current;d.current=null,e&&null!==t&&document.activeElement===e&&e.setSelectionRange(t,t)}),(0,a.jsx)("input",{ref:o,id:e,type:"text",inputMode:"decimal",autoComplete:"off",value:t,placeholder:r,className:n,style:c,onChange:e=>{let a=e.target,l=a.value,i=a.selectionStart??l.length;if(l.length<t.length&&l.replace(/[^0-9.]/g,"")===t.replace(/[^0-9.]/g,"")){let t=e.nativeEvent.inputType;"deleteContentBackward"===t&&i>0?(l=l.slice(0,i-1)+l.slice(i),i-=1):"deleteContentForward"===t&&(l=l.slice(0,i)+l.slice(i+1))}let r=function(e,t){let s=e.trim().match(/([km])$/i);if(s){let t=parseFloat(e.replace(/[^0-9.]/g,""));if(!Number.isFinite(t))return{text:"",caret:0};let a=Math.round(t*("m"===s[1].toLowerCase()?1e6:1e3)).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",");return{text:a,caret:a.length}}let a=e=>/[0-9.]/.test(e),l=[...e.slice(0,t)].filter(a).length,i=e.replace(/[^0-9.]/g,""),r=i.indexOf(".");-1!==r&&(i=i.slice(0,r+1)+i.slice(r+1).replace(/\./g,""));let[n,c]=i.split("."),o=n.replace(/^0+(?=\d)/,""),d=void 0===c?void 0:c.slice(0,2),x=!o&&void 0!==d,m=o?o.replace(/\B(?=(\d{3})+(?!\d))/g,","):x?"0":"",h=void 0!==d?`${m}.${d}`:m,p=+!!x;for(let e=0;p<h.length&&e<l;p++)a(h[p])&&e++;return{text:h,caret:p}}(l,i);if(r.text!==t){d.current=r.caret,s(r.text);return}requestAnimationFrame(()=>{document.activeElement===a&&a.setSelectionRange(r.caret,r.caret)})}})}},44753:(e,t,s)=>{"use strict";s.d(t,{Ku:()=>c,PF:()=>o,TenantProvider:()=>n,bS:()=>i.bS});var a=s(95155),l=s(12115),i=s(37507);let r=(0,l.createContext)(null);function n({tenant:e,peers:t,children:s}){let i=(0,l.useMemo)(()=>({tenant:e,peers:t}),[e,t]);return(0,a.jsx)(r.Provider,{value:i,children:s})}function c(){let e=(0,l.useContext)(r);if(!e)throw Error("useTenant() must be called inside <TenantProvider>. The root layout wraps every route automatically.");return e.tenant}function o(){let e=(0,l.useContext)(r);if(!e)throw Error("useTenantPeers() must be called inside <TenantProvider>. The root layout wraps every route automatically.");return e.peers}},51794:(e,t,s)=>{"use strict";s.r(t),s.d(t,{LeadFormInner:()=>x});var a=s(95155),l=s(12115),i=s(52484),r=s(66088),n=s(6296),c=s(25777),o=s(66983),d=s(18364);function x({form:e,locationOptions:t=[],instance:s="hero",pageTitle:m,compact:h=!1}){let p=e.variant??"machinery-quote",u=e.equipmentOptions||[],g=e.interestOptions||[],b=e.fleetSizeOptions||[],f=e.fleetSizeLabel||"Fleet Size",j=e.interestLabel||"Interest",w=!!e.hideFleetSize,v="hidden"!==e.locationSource&&t.length>0,[y,N]=(0,l.useState)(!1),[k,C]=(0,l.useState)(!1),[A,S]=(0,l.useState)(""),{guardValues:$,honeypotField:D}=(0,d.E)(),[T,P]=(0,l.useState)({name:"",company:"",phone:"",email:"",zip:"",equipment:"",location:"",fleetSize:"",interest:"",message:""});function F(e,t){P(s=>({...s,[e]:t}))}async function L(t){t.preventDefault(),N(!0),S("");let[a,...l]=T.name.trim().split(/\s+/),i=l.join(" ")||"-",r=[];if("fleet-incentive"===p&&T.interest){let e=g.find(e=>e.value===T.interest);r.push(`${j}: ${e?.label??T.interest}`)}"fleet-incentive"===p&&T.fleetSize&&r.push(`${f}: ${T.fleetSize}`),T.message&&r.push(T.message);
1let n=r.join("\n"),c=await (0,o.D)({firstName:a||T.name,lastName:i||"-",email:T.email,phone:T.phone,company:T.company,zip:T.zip||void 0,equipmentType:T.equipment||void 0,location:T.location||void 0,message:n||void 0,formType:`landing-${e.formIdTag||s}`,sourceUrl:window.location.href,sourcePage:m,...$()});N(!1),c.success?("dataLayer"in window&&window.dataLayer.push({event:"form_submission",form_type:p,form_id:e.formIdTag||s,form_location:T.location||T.fleetSize}),C(!0)):S(c.error??"Something went wrong. Please try again.")}let z="w-full px-4 py-3 rounded-lg text-sm bg-white/5 text-white placeholder:text-white/40 border border-white/10 focus:outline-none focus:border-[color:var(--landing-accent)] focus:ring-1 focus:ring-[color:var(--landing-accent)] transition-colors",I="block text-xs font-semibold uppercase tracking-wider text-white/70 mb-1.5";return k?(0,a.jsxs)("div",{className:`bg-white/5 border border-white/10 rounded-2xl ${h?"p-6":"p-8 lg:p-10"} text-center`,children:[(0,a.jsx)("div",{className:"w-14 h-14 mx-auto rounded-full bg-emerald-500/20 flex items-center justify-center mb-4",children:(0,a.jsx)(i.A,{size:28,className:"text-emerald-400"})}),(0,a.jsx)("h3",{className:"text-xl lg:text-2xl font-bold text-white mb-2",children:e.successHeading||"You're All Set!"}),(0,a.jsx)("p",{className:"text-sm text-white/70 max-w-xs mx-auto",children:e.successBody||"A Sonsray specialist will reach out within one business day."})]}):(0,a.jsxs)("form",{onSubmit:L,className:`bg-white/5 backdrop-blur-md border border-white/10 rounded-2xl shadow-xl ${h?"p-6":"p-7 lg:p-8"}`,children:[D,e.heading&&(0,a.jsx)("h3",{className:"text-xl lg:text-2xl font-bold text-white mb-1",children:e.heading}),e.subheading&&(0,a.jsx)("p",{className:"text-sm text-white/60 mb-5",children:e.subheading}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("label",{className:I,children:["Full Name ",(0,a.jsx)("span",{style:{color:"var(--landing-accent)"},children:"*"})]}),(0,a.jsx)("input",{type:"text",required:!0,value:T.name,onChange:e=>F("name",e.target.value),className:z,placeholder:"John Smith"})]}),e.includeCompany&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("label",{className:I,children:["Company ","fleet-incentive"===p&&(0,a.jsx)("span",{style:{color:"var(--landing-accent)"},children:"*"})]}),(0,a.jsx)("input",{type:"text",required:"fleet-incentive"===p,value:T.company,onChange:e=>F("company",e.target.value),className:z,placeholder:"Your Company"})]}),(0,a.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("label",{className:I,children:["Phone ",(0,a.jsx)("span",{style:{color:"var(--landing-accent)"},children:"*"})]}),(0,a.jsx)("input",{type:"tel",required:!0,value:T.phone,onChange:e=>F("phone",e.target.value),className:z,placeholder:"(555) 000-0000"})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("label",{className:I,children:["Email ",(0,a.jsx)("span",{style:{color:"var(--landing-accent)"},children:"*"})]}),(0,a.jsx)("input",{type:"email",required:!0,value:T.email,onChange:e=>F("email",e.target.value),className:z,placeholder:"[email protected]"})]})]}),"machinery-quote"===p&&(0,a.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("label",{className:I,children:["Zip Code ",(0,a.jsx)("span",{style:{color:"var(--landing-accent)"},children:"*"})]}),(0,a.jsx)("input",{type:"text",required:!0,value:T.zip,onChange:e=>F("zip",e.target.value),className:z,placeholder:"85009"})]}),u.length>0&&(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("label",{className:I,children:"Equipment Interest"}),(0,a.jsxs)("select",{value:T.equipment,onChange:e=>F("equipment",e.target.value),className:`${z} appearance-none pr-10`,children:[(0,a.jsx)("option",{value:"",children:"Select..."}),u.map(e=>(0,a.jsx)("option",{value:e.label,className:"bg-[#1a1a1a]",children:e.label},e.label))]}),(0,a.jsx)(r.A,{size:14,className:"absolute right-3 top-[42px] text-white/50 pointer-events-none"})]})]}),v&&(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("label",{className:I,children:"Preferred Location"}),(0,a.jsxs)("select",{value:T.location,onChange:e=>F("location",e.target.value),className:`${z}
1 appearance-none pr-10`,children:[(0,a.jsx)("option",{value:"",children:"Select a location..."}),t.map(e=>(0,a.jsx)("option",{value:e.label,className:"bg-[#1a1a1a]",children:e.label},e.id))]}),(0,a.jsx)(r.A,{size:14,className:"absolute right-3 top-[42px] text-white/50 pointer-events-none"})]}),"fleet-incentive"===p&&g.length>0&&(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("label",{className:I,children:j}),(0,a.jsxs)("select",{value:T.interest,onChange:e=>F("interest",e.target.value),className:`${z} appearance-none pr-10`,children:[(0,a.jsx)("option",{value:"",children:"Select…"}),g.map(e=>(0,a.jsx)("option",{value:e.value,className:"bg-[#1a1a1a]",children:e.label},e.value))]}),(0,a.jsx)(r.A,{size:14,className:"absolute right-3 top-[42px] text-white/50 pointer-events-none"})]}),"fleet-incentive"===p&&!w&&(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("label",{className:I,children:f}),(0,a.jsxs)("select",{value:T.fleetSize,onChange:e=>F("fleetSize",e.target.value),className:`${z} appearance-none pr-10`,children:[(0,a.jsx)("option",{value:"",children:"Select…"}),(b.length>0?b:[{label:"1–5 units"},{label:"6–15 units"},{label:"16–30 units"},{label:"31–50 units"},{label:"50+ units"}]).map(e=>(0,a.jsx)("option",{value:e.label,className:"bg-[#1a1a1a]",children:e.label},e.label))]}),(0,a.jsx)(r.A,{size:14,className:"absolute right-3 top-[42px] text-white/50 pointer-events-none"})]}),e.includeMessage&&(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:I,children:e.messageLabel||"Tell Us More"}),(0,a.jsx)("textarea",{rows:3,value:T.message,onChange:e=>F("message",e.target.value),className:`${z} resize-none`,placeholder:e.messagePlaceholder||""})]})]}),A&&(0,a.jsx)("p",{className:"text-sm text-red-400 text-center mt-4",children:A}),(0,a.jsxs)("button",{type:"submit",disabled:y,className:"mt-5 w-full py-3.5 rounded-lg font-bold text-sm uppercase tracking-wider text-white transition-opacity disabled:opacity-60 flex items-center justify-center gap-2",style:{backgroundColor:"var(--landing-accent)"},children:[y&&(0,a.jsx)(n.A,{size:16,className:"animate-spin"}),y?"Sending…":e.submitText||"SUBMIT"]}),(0,a.jsxs)("p",{className:"flex items-center justify-center gap-1.5 text-xs text-white/50 mt-3",children:[(0,a.jsx)(c.A,{size:12}),"Your info is secure. A specialist contacts you within 1 business day."]})]})}},54265:(e,t,s)=>{"use strict";s.d(t,{LandingPageLivePreview:()=>O});var a=s(95155),l=s(10662),i=s(23382),r=s(15610),n=s(5772),c=s(98500),o=s.n(c),d=s(51794),x=s(22038),m=s(44478);function h({block:e,page:t,locationOptions:s}){let l="object"==typeof e.backgroundImage&&null!==e.backgroundImage?e.backgroundImage.url:void 0,i="object"==typeof e.backgroundImage&&null!==e.backgroundImage&&e.backgroundImage.alt||"",r=e.trustItems||[],c=e.eyebrowDotColor||"var(--landing-accent)";return(0,a.jsxs)("section",{className:"relative min-h-[calc(100vh-4rem)] lg:min-h-[calc(100vh-5rem)] flex items-center overflow-hidden pt-10 pb-16 lg:py-20",children:[l&&(0,a.jsx)(n.default,{src:l,alt:i||"",fill:!0,priority:!0,sizes:"100vw",className:"object-cover",unoptimized:!0}),(0,a.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(13,13,13,0.94) 0%, rgba(13,13,13,0.78) 52%, rgba(13,13,13,0.55) 100%)"}}),(0,a.jsx)("div",{className:"relative max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-12 items-center",children:[(0,a.jsxs)("div",{children:[e.eyebrow&&(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full border text-xs font-semibold uppercase tracking-wider",style:{borderColor:"var(--landing-accent)",color:"var(--landing-accent)",background:"rgba(255,255,255,0.05)"},children:[(0,a.jsx)("span",{className:"landing-dot w-1.5 h-1.5 rounded-full inline-block",style:{backgroundColor:c}}),e.eyebrow]}),(0,a.jsx)("h1",{className:"mt-5 text-4xl sm:text-5xl lg:text-6xl font-black leading-[1.05] text-white whitespace-pre-line",children:function(e,t){if(!e)return null;if(!t||!e.includes(t))return e;let[s,l]=e.split(t);return(0,a.jsxs)(a.Fragment,{children:[s,(0,a.jsx)("span",{style:{color:"var(--landing-accent)"},children:t}),l]})}(e.heading,e.headingAccent)}),e.subheading&&(0,a.jsx)("p",{className:"mt-5 text-base lg:text-lg text-white/75 max-w-xl whitespace-pre-line leading-relaxed",children:e.subheading}),(0,a.jsxs)("div",{className:"mt-7 flex flex-wrap gap-3",children:[e.primaryCtaText&&e.primaryCtaLink&&(0,a.jsx)(o(),{href:e.primaryCtaLink,className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white shadow-lg transition-transform hover:-translate-y-0.5",style:{backgroundColor:"var(--landing-accent)"},children:e.primaryCtaText}),e.secondaryCtaText&&e.secondaryCtaLink&&(0,a.jsx)(o(),{href:e.secondaryCtaLink,className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white border border-white/30 hover:bg-white/10 transition-colors",children:e.secondaryCtaText})]}),e.ctaNote&&(0,a.jsx)("p",{className:"mt-4 max-w-xl text-xs text-white/60 leading-relaxed",children:e.ctaNote}),r.length>0&&(0,a.jsx)("ul",{className:"mt-8 flex flex-wrap gap-x-6 gap-y-3 border-t border-white/10 pt-6",children:r.map((e,t)=>(0,a.jsxs)("li",{className:"flex items-center gap-2 text-sm text-white/75",children:[(0,a.jsx)(x.$,{name:e.icon,fallback:m.A,size:16,style:{color:"var(--landing-accent)"}}),e.label]},t))})]}),e.form&&(0,a.jsx)("div",{className:"lg:pl-4",children:(0,a.jsx)("div",{id:"quote-form",className:"scroll-mt-24",children:(0,a.jsx)(d.LeadFormInner,{form:e.form,locationOptions:s,instance:"hero",pageTitle:t?.title})})})]})})]})}var p=s(94290),u=s(21628);function g({block:e}){let t=e.items||[],s=e.columns||"3";return(0,a.jsx)("section",{className:"py-16 lg:py-24 bg-[#1A1A1A] border-t-4",style:{borderColor:"var(--landing-accent)"},children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(e.eyebrow||e.heading)&&(0,a.jsxs)("div",{className:"max-w-3xl mx-auto text-center mb-10 lg:mb-14",children:[e.eyebrow&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:"var(--landing-accent)"},children:e.eyebrow}),e.heading&&(0,a.jsx)("h2",{className:"text-3xl lg:text-4xl font-black text-white",children:e.heading}),e.subheading&&(0,a.jsx)("p",{className:"text-base lg:text-lg text-white/65 mt-4 leading-relaxed",children:e.subheading})]}),(0,a.jsx)("div",{className:`grid ${"2"===s?"grid-cols-1 sm:grid-cols-2":"4"===s?"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"} gap-6`,children:t.map((e,t)=>{let s=e.image?.url;return(0,a.jsxs)("article",{className:"group bg-[#242424] border border-white/10 rounded-2xl overflow-hidden hover:border-[color:var(--landing-accent)] transition-colors flex flex-col",children:[s&&(0,a.jsx)("div",{className:"relative aspect-[16/10] overflow-hidden",children:(0,a.jsx)(n.default,{src:s,alt:e.image?.alt||e.title,fill:!0,className:"object-cover transition-transform group-hover:scale-105",sizes:"(min-width: 1024px) 33vw, (min-width: 640px) 50vw, 100vw",unoptimized:!0})}),(0,a.jsxs)("div",{className:"p-6 lg:p-7 flex-1 flex flex-col",children:[(0,a.jsx)("div",{className:"w-11 h-11 rounded-lg flex items-center justify-center mb-4",style:{backgroundColor:"rgba(255,255,255,0.05)"},children:(0,a.jsx)(x.$,{name:e.icon,fallback:p.A,size:22,style:{color:e.iconColor||"var(--landing-accent)"}})}),(0,a.jsx)("h3",{className:"text-xl font-bold text-white mb-2",children:e.title}),(0,a.jsx)("p",{className:"text-sm text-white/70 leading-relaxed mb-4 whitespace-pre-line",children:e.description}),e.ctaText&&e.ctaLink&&(0,a.jsxs)(o(),{href:e.ctaLink,className:"inline-flex items-center gap-1 text-sm font-semibold mt-auto hover:gap-2 transition-all",style:{color:"var(--landing-accent)"},children:[e.ctaText," ",(0,a.jsx)(u.A,{size:14})]}),e.badge&&(0,a.jsx)("div",{className:"mt-4 pt-4 border-t border-white/10 text-xs font-semibold uppercase tracking-wider text-white/60",children:e.badge})]})]},t)})}),e.footnote&&(0,a.jsx)("p",{className:"max-w-3xl mx-auto mt-10 lg:mt-12 text-center text-sm text-white/65 leading-relaxed whitespace-pre-line",children:e.footnote}),e.ctaText&&e.ctaLink&&(0,a.jsx)("div",{className:"text-center mt-10 lg:mt-14",children:(0,a.jsxs)(o(),{href:e.ctaLink,className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white transition-transform hover:-translate-y-0.5",style:{backgroundColor:"var(--landing-accent)"},children:[e.ctaText," ",(0,a.jsx)(u.A,{size:14})]})})]})})}var b=s(83597),f=s(21053);function j({block:e}){let t=e.items||[],s=e.background||"accent",l="accent"===s;return(0,a.jsxs)("section",{className:`py-16 lg:py-24 relative overflow-hidden ${"dark"===s?"bg-[#0D0D0D]":"gray"===s?"bg-[#1A1A1A]":""}`,style:l?{backgroundColor:"var(--landing-accent)"}:{}
1,children:[l&&(0,a.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 opacity-[0.08] pointer-events-none",style:{backgroundImage:"repeating-linear-gradient(45deg, rgba(0,0,0,0.9) 0 2px, transparent 2px 22px)"}}),(0,a.jsxs)("div",{className:"relative max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[e.eyebrow&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] text-white/80 mb-3",children:e.eyebrow}),e.heading&&(0,a.jsx)("h2",{className:"text-3xl lg:text-5xl font-black text-white whitespace-pre-line leading-tight",children:e.heading}),e.subheading&&(0,a.jsx)("p",{className:"text-base lg:text-lg text-white/80 mt-4 max-w-2xl mx-auto whitespace-pre-line",children:e.subheading}),(0,a.jsx)("div",{className:`grid gap-5 mt-10 lg:mt-12 ${2===t.length||4===t.length?"md:grid-cols-2":"md:grid-cols-2 lg:grid-cols-3"}`,children:t.map((e,t)=>(0,a.jsxs)("div",{className:"rounded-2xl border border-white/25 bg-white/10 backdrop-blur-sm p-7 lg:p-8 text-left flex flex-col",children:[e.icon&&(0,a.jsx)("div",{className:"w-12 h-12 rounded-xl bg-white/20 flex items-center justify-center mb-4",children:(0,a.jsx)(x.$,{name:e.icon,fallback:f.A,size:24,className:"text-white"})}),e.categoryLabel&&(0,a.jsx)("p",{className:"text-sm font-bold text-white uppercase tracking-wider",children:e.categoryLabel}),e.categorySublabel&&(0,a.jsx)("p",{className:"text-xs text-white/70 mb-5",children:e.categorySublabel}),(0,a.jsx)("p",{className:`${e.statValue.length>7?"text-4xl lg:text-5xl":"text-5xl lg:text-6xl"} font-black text-white leading-none mt-2 break-words`,children:e.statValue}),e.statLabel&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-wider mt-2",style:{color:"rgba(255,255,255,0.9)"},children:e.statLabel}),e.description&&(0,a.jsx)("p",{className:"text-sm text-white/85 mt-4 leading-relaxed",children:e.description}),e.note&&(0,a.jsx)("p",{className:"text-xs text-white/70 mt-4 pt-4 border-t border-white/20",children:e.note})]},t))}),e.disclaimer&&(0,a.jsx)("p",{className:"text-xs text-white/75 mt-8 max-w-3xl mx-auto",children:e.disclaimer}),(e.primaryCtaText||e.secondaryCtaText)&&(0,a.jsxs)("div",{className:"mt-10 flex flex-wrap gap-3 justify-center",children:[e.primaryCtaText&&e.primaryCtaLink&&(0,a.jsx)(o(),{href:e.primaryCtaLink,className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm bg-white shadow-lg hover:-translate-y-0.5 transition-transform",style:{color:l?"var(--landing-accent)":"#0D0D0D"},children:e.primaryCtaText}),e.secondaryCtaText&&e.secondaryCtaLink&&(0,a.jsx)(o(),{href:e.secondaryCtaLink,className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white border border-white/40 hover:bg-white/10 transition-colors",children:e.secondaryCtaText})]})]})]})}var w=s(24538),v=s(76498),y=s(68822),N=s(94514);function k({block:e}){let t=e.rows||[],s=e.eligibility||null,l=e.background||"accent",i="accent"===l;return(0,a.jsxs)("section",{className:`py-16 lg:py-24 relative overflow-hidden ${"dark"===l?"bg-[#0D0D0D]":""}`,style:i?{backgroundColor:"var(--landing-accent)"}:void 0,children:[i&&(0,a.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 opacity-[0.08] pointer-events-none",style:{backgroundImage:"repeating-linear-gradient(45deg, rgba(0,0,0,0.9) 0 2px, transparent 2px 22px)"}}),(0,a.jsx)("div",{"aria-hidden":!0,className:"absolute -top-24 -right-24 w-96 h-96 rounded-full blur-3xl op
1acity-10",style:{background:"white"}}),(0,a.jsxs)("div",{className:"relative max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[e.eyebrow&&(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 border border-white/20 text-xs font-semibold uppercase tracking-wider text-white",children:[(0,a.jsx)(x.$,{name:e.eyebrowIcon,fallback:w.A,size:14}),e.eyebrow]}),e.heading&&(0,a.jsx)("h2",{className:"mt-5 text-3xl lg:text-5xl font-black text-white leading-tight whitespace-pre-line",children:e.heading}),e.subheading&&(0,a.jsx)("p",{className:"mt-4 text-base lg:text-lg text-white/85 max-w-2xl mx-auto",children:e.subheading}),t.length>0&&(0,a.jsxs)("div",{className:"mt-10 bg-white/10 backdrop-blur-md border border-white/20 rounded-2xl overflow-hidden text-left",children:[(e.tableTitle||e.tableSubtitle)&&(0,a.jsxs)("div",{className:"px-6 lg:px-8 py-5 border-b border-white/15 bg-white/5",children:[e.tableTitle&&(0,a.jsx)("h3",{className:"text-lg font-bold text-white",children:e.tableTitle}),e.tableSubtitle&&(0,a.jsx)("p",{className:"text-sm text-white/70 mt-1",children:e.tableSubtitle})]}),(0,a.jsx)("div",{children:t.map((e,t)=>(0,a.jsxs)("div",{className:`flex items-center gap-4 px-6 lg:px-8 py-5 ${t>0?"border-t border-white/15":""} ${e.highlighted?"bg-amber-400/20":""}`,children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:e.iconBackground||"rgba(255,255,255,0.15)"},children:(0,a.jsx)(x.$,{name:e.icon,fallback:v.A,size:18,className:"text-white"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("p",{className:"font-bold text-white",children:e.label}),e.sublabel&&(0,a.jsx)("p",{className:`text-xs mt-0.5 ${e.highlighted?"text-amber-200 font-semibold":"text-white/70"}`,children:e.sublabel})]}),(0,a.jsx)("p",{className:"text-2xl lg:text-3xl font-black text-white shrink-0",children:e.price})]},t))})]}),s&&(s.title||s.items?.length)&&(0,a.jsxs)("div",{className:"mt-6 bg-white/5 border border-white/15 rounded-2xl p-6 lg:p-8 text-left",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3 mb-4",children:[(0,a.jsx)(x.$,{name:s.icon,fallback:y.A,size:22,className:"text-white shrink-0 mt-0.5"}),s.title&&(0,a.jsx)("h3",{className:"text-lg lg:text-xl font-bold text-white",children:s.title})]}),s.items&&s.items.length>0&&(0,a.jsx)("ul",{className:"space-y-2.5",children:s.items.map((e,t)=>(0,a.jsxs)("li",{className:"flex items-start gap-2.5 text-sm text-white/90",children:[(0,a.jsx)(N.A,{size:16,className:"shrink-0 mt-0.5",style:{color:"gold"}}),e.text]},t))})]}),e.footerText&&(0,a.jsx)("p",{className:"text-sm text-white/80 mt-8 max-w-2xl mx-auto leading-relaxed whitespace-pre-line",children:e.footerText}),e.ctaText&&e.ctaLink&&(0,a.jsx)("div",{className:"mt-8",children:(0,a.jsx)(o(),{href:e.ctaLink,className:"inline-flex items-center gap-2 px-7 py-4 rounded-md font-bold text-sm bg-white shadow-xl hover:-translate-y-0.5 transition-transform",style:{color:i?"var(--landing-accent)":"#0D0D0D"},children:e.ctaText})})]})]})}var C=s(52484);function A({block:e}){let t="object"==typeof e.image&&null!==e.image?e.image.url:void 0,s=e.imagePosition||"left",l=e.bullets||[],i=e.stats||[],r=e.productImages||[],c=r.length>0||!!t,d=e.footnote?.trim(),m=(0,a.jsx)("div",{className:`${"right"===s?"lg:order-2":"lg:order-1"} order-2 lg:order-none`,children:r.length>0?(0,a.jsx)("div",{className:"grid grid-cols-2 gap-4",children:r.map((e,t)=>{let s=e.image?.url;return(0,a.jsxs)("div",{className:"relative aspect-[4/5] rounded-2xl overflow-hidden border border-white/10",style:{background:"linear-gradient(135deg, rgba(240,240,240,1) 0%, rgba(200,200,200,1) 100%)"},children:[s&&(0,a.jsx)(n.default,{src:s,alt:e.label||"",fill:!0,className:"object-contain p-4",sizes:"(min-width: 1024px) 25vw, 50vw",unoptimized:!0}),e.label&&(0,a.jsx)("div",{className:"absolute bottom-2 left-2 right-2 text-center bg-white/90 text-black text-xs font-bold py-1 rounded",children:e.label})]},t)})}):t?(0,a.jsxs)("div",{className:"relative aspect-[4/3] lg:aspect-auto lg:h-[480px] rounded-2xl overflow-hidden border border-white/10",children:[(0,a.jsx)(n.default,{src:t,alt:e.heading||"",fill:!0,className:"object-cover",sizes:"(min-width: 1024px) 50vw, 100vw",unoptimized:!0}),(0,a.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%)"}}),e.imageBadge&&(0,a.jsxs)("div",{className:"absolute bottom-4 left-4 inline-flex items-center gap-2 px-3 py-2 rounded-lg bg-black/60 backdrop-blur-md text-xs font-semibold text-white",children:[(0,a.jsx)(x.$,{name:e.imageBadgeIcon,fallback:C.A,size:14,style:{color:"var(--landing-accent)"}}),e.imageBadge]})]}):null}),h=(0,a.jsxs)(a.Fragment,{children:[e.eyebrow&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:"var(--landing-accent)"},children:e.eyebrow}),e.heading&&(0,a.jsx)("h2",{className:"text-3xl lg:text-4xl font-black text-white leading-tight whitespace-pre-line text-balance",children:e.heading})]}),p=(0,a.jsxs)(a.Fragment,{children:[e.body&&(0,a.jsx)("p",{className:`text-base lg:text-lg text-white/75 whitespace-pre-line leading-relaxed ${c?"mt-4":"mt-4 lg:mt-0"}`,children:e.body}),l.length>0&&(0,a.jsx)("ul",{className:"mt-6 space-y-4",children:l.map((e,t)=>(0,a.jsxs)("li",{className:"flex items-start gap-3",children:[(0,a.jsx)(x.$,{name:e.icon,fallback:C.A,size:20,className:"shrink-0 mt-0.5",style:{color:"var(--landing-accent)"}}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-semibold text-white",children:e.title}),e.description&&(0,a.jsx)("p",{className:"text-sm text-white/65 mt-0.5",children:e.description})]})]},t))}),d&&(0,a.jsx)("p",{className:"mt-6 text-sm text-white/65 whitespace-pre-line leading-relaxed",children:d}),(e.primaryCtaText||e.secondaryCtaText)&&(0,a.jsxs)("div",{className:"mt-7 flex flex-wrap gap-3",children:[e.primaryCtaText&&e.primaryCtaLink&&(0,a.jsxs)(o(),{href:e.primaryCtaLink,className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white",style:{backgroundColor:"var(--landing-accent)"},children:[e.primaryCtaText," ",(0,a.jsx)(u.A,{size:14})]}),e.secondaryCtaText&&e.secondaryCtaLink&&(0,a.jsx)(o(),{href:e.secondaryCtaLink,className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white border border-white/30 hover:bg-white/10 transition-colors",children:e.secondaryCtaText})]})]}),g=(0,a.jsxs)("div",{className:`${"right"===s?"lg:order-1":"lg:order-2"} order-1 lg:order-none`,children:[h,p]});return(0,a.jsx)("section",{className:"py-16 lg:py-24 bg-[#0D0D0D]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsx)("div",{className:`grid lg:grid-cols-2 gap-10 lg:gap-14 ${c?"items-center":"items-start"}`,children:c?"left"===s?(0,a.jsxs)(a.Fragment,{children:[m,g]}):(0,a.jsxs)(a.Fragment,{children:[g,m]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"lg:pr-4",children:h}),(0,a.jsx)("div",{children:p})]})}),i.length>0&&(0,a.jsx)("div",{className:"mt-14 lg:mt-16 grid gap-6 divide-y divide-white/10 sm:divide-y-0 sm:divide-x sm:grid-cols-3",style:{fontVariantNumeric:"tabular-nums"},children:i.map((e,t)=>(0,a.jsxs)("div",{className:"px-6 py-6 sm:py-4 text-center",children:[(0,a.jsx)("p",{className:"text-4xl lg:text-5xl font-black text-white",children:e.value}),(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-wider text-white/60 mt-1",children:e.label})]},t))})]})})}var S=s(73388);function $({block:e}){let t=e.items||[];return(0,a.jsx)("section",{className:"py-16 lg:py-24 bg-[#0D0D0D]",children:(0,a.jsxs)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"text-center mb-10 lg:mb-14",children:[e.eyebrow&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:"var(--landing-accent)"},children:e.eyebrow}),e.heading&&(0,a.jsx)("h2",{className:"text-3xl lg:text-4xl font-black text-white",children:e.heading}),e.subheading&&(0,a.jsx)("p",{className:"text-base lg:text-lg text-white/65 mt-4 max-w-2xl mx-auto",children:e.subheading})]}),(0,a.jsx)("div",{className:"space-y-3",children:t.map((e,t)=>(0,a.jsxs)("details",{className:"group bg-[#1A1A1A] border border-white/10 rounded-xl overflow-hidden open:border-[color:var(--landing-accent)]/40",children:[(0,a.jsxs)("summary",{className:"flex items-center justify-between gap-4 px-6 py-5 cursor-pointer list-none",children:[(0,a.jsx)("h3",{className:"text-base lg:text-lg font-semibold text-white",children:e.question}),(0,a.jsx)("span",{className:"w-8 h-8 rounded-full border border-white/20 flex items-center justify-center text-white/80 shrink-0 transition-transform group-open:rotate-45","aria-hidden":!0,
1children:"+"})]}),(0,a.jsx)("div",{className:"px-6 pb-6 -mt-1",children:(0,a.jsx)("p",{className:"text-sm text-white/75 whitespace-pre-line leading-relaxed",children:e.answer})})]},t))}),(e.footerText||e.ctaText)&&(0,a.jsxs)("div",{className:"text-center mt-10 lg:mt-12",children:[e.footerText&&(0,a.jsx)("p",{className:"text-sm text-white/60 mb-4",children:e.footerText}),e.ctaText&&e.ctaLink&&(0,a.jsxs)(o(),{href:e.ctaLink,className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm text-white",style:{backgroundColor:"var(--landing-accent)"},children:[e.ctaText," ",(0,a.jsx)(u.A,{size:14})]})]})]})})}function D({block:e}){let t=e.stats||[];return 0===t.length?null:(0,a.jsx)("section",{className:"py-12 bg-[#1A1A1A] border-y border-white/10",children:(0,a.jsx)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsx)("div",{className:"grid gap-6 divide-y divide-white/10 sm:divide-y-0 sm:divide-x",style:{gridTemplateColumns:`repeat(${Math.min(t.length,4)}, minmax(0, 1fr))`,fontVariantNumeric:"tabular-nums"},children:t.map((e,t)=>(0,a.jsxs)("div",{className:"px-6 py-4 text-center",children:[(0,a.jsx)("p",{className:"text-3xl lg:text-5xl font-black text-white",children:e.value}),(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-wider text-white/60 mt-1",children:e.label})]},t))})})})}function T({block:e,page:t,locationOptions:s}){let l=e.trustSignals||[],i=e.offerCard;return(0,a.jsx)("section",{id:"quote-form",className:"py-16 lg:py-24 bg-[#1A1A1A] border-t border-white/10 scroll-mt-24",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-14 items-start",children:[(0,a.jsxs)("div",{children:[e.eyebrow&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:"var(--landing-accent)"},children:e.eyebrow}),e.heading&&(0,a.jsx)("h2",{className:"text-3xl lg:text-4xl font-black text-white leading-tight whitespace-pre-line",children:e.heading}),e.body&&(0,a.jsx)("p",{className:"text-base lg:text-lg text-white/70 mt-4 whitespace-pre-line leading-relaxed",children:e.body}),l.length>0&&(0,a.jsx)("ul",{className:"mt-6 space-y-3",children:l.map((e,t)=>(0,a.jsxs)("li",{className:"flex items-start gap-3 text-sm text-white/80",children:[(0,a.jsx)(x.$,{name:e.icon,fallback:N.A,size:18,className:"mt-0.5 shrink-0",style:{color:"var(--landing-accent)"}}),e.label]},t))}),i&&(i.title||i.body)&&(0,a.jsxs)("div",{className:"mt-8 p-5 rounded-xl border bg-[#242424]",style:{borderColor:"var(--landing-accent)"},children:[i.label&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-wider mb-1",style:{color:"var(--landing-accent)"},children:i.label}),i.title&&(0,a.jsx)("p",{className:"font-bold text-white text-lg",children:i.title}),i.body&&(0,a.jsx)("p",{className:"text-sm text-white/70 mt-2 whitespace-pre-line",children:i.body})]})]}),e.form&&(0,a.jsx)("div",{children:(0,a.jsx)(d.LeadFormInner,{form:e.form,locationOptions:s,instance:e.form.formIdTag||"closing",pageTitle:t?.title})})]})})})}function P({block:e}){let t=e.ctas||[];return(0,a.jsx)("section",{className:"py-16 lg:py-24 bg-[#0D0D0D]",children:(0,a.jsxs)("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[e.eyebrow&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:"var(--landing-accent)"},children:e.eyebrow}),e.heading&&(0,a.jsx)("h2",{className:"text-3xl lg:text-5xl font-black text-white leading-tight whitespace-pre-line",children:function(e,t){if(!e)return null;if(!t||!e.includes(t))return e;let[s,l]=e.split(t);return(0,a.jsxs)(a.Fragment,{children:[s,(0,a.jsx)("span",{style:{color:"var(--landing-accent)"},children:t}),l]})}(e.heading,e.headingAccent)}),e.body&&(0,a.jsx)("p",{className:"text-base lg:text-lg text-white/70 mt-4 whitespace-pre-line",children:e.body}),t.length>0&&(0,a.jsx)("div",{className:"mt-8 flex flex-wrap gap-3 justify-center",children:t.map((e,t)=>(0,a.jsxs)(o(),{href:e.link,className:`inline-flex items-center gap-2 px-6 py-3.5 rounded-md font-bold text-sm ${"ghost"===e.style?"text-white border border-white/30 hover:bg-white/10":"text-white"} transition-transform hover:-translate-y-0.5`,style:"ghost"===e.style?void 0:{backgroundColor:"var(--landing-accent)"},children:[e.icon&&(0,a.jsx)(x.$,{name:e.icon,size:14}),e.text]},t))})]})})}var F=s(50363);function L({block:e}){return e.content?(0,a.jsx)("section",{className:"py-12 lg:py-16 bg-[#0D0D0D]",children:(0,a.jsx)("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsx)("div",{className:"prose prose-invert prose-lg max-w-none",children:(0,a.jsx)(F.s,{data:e.content})})})}):null}var z=s(35600),I=s(12587),M=s(36581);function E({blocks:e,page:t,locationOptions:s=[]}){return e&&0!==e.length?(0,a.jsx)(a.Fragment,{children:e.map((e,l)=>{let i=e.id||`${e.blockType}-${l}`,r=(0,M.Q)(e.sectionName),n=e=>r?(0,a.jsx)("div",{id:r,className:"scroll-mt-20 lg:scroll-mt-24",children:e},i):(0,a.jsx)("div",{children:e},i);switch(e.blockType){case"landing-hero":return n((0,a.jsx)(h,{block:e,page:t,locationOptions:s}));case"benefits-grid":return n((0,a.jsx)(g,{block:e}));case"inventory-cards":return n((0,a.jsx)(b.InventoryCardsBlock,{block:e}));case"offer-cards":return n((0,a.jsx)(j,{block:e}));case"pricing-table":return n((0,a.jsx)(k,{block:e}));case"split-content":return n((0,a.jsx)(A,{block:e}));case"locations-map":return n((0,a.jsx)(S.LocationsMapBlock,{block:e}));case"faq":return n((0,a.jsx)($,{block:e}));case"stats":return n((0,a.jsx)(D,{block:e}));case"lead-form":return n((0,a.jsx)(T,{block:e,page:t,locationOptions:s}));case"final-cta":return n((0,a.jsx)(P,{block:e}));case"content":return n((0,a.jsx)(L,{block:e}));case"section-179-calculator":return n((0,a.jsx)(z.Section179CalculatorBlock,{block:e}));case"idle-cost-calculator":return n((0,a.jsx)(I.IdleCostCalculatorBlock,{block:e}));default:return null}})}):null}function B({page:e,locationOptions:t=[]}){let s=e.theme||{},l=s.accentColor||"#FDE03C",n=s.accentColorDark||function(e,t=.2){let s=/^#?([
10-9a-f]{6})$/i.exec(e.trim());if(!s)return e;let a=parseInt(s[1],16),l=1-t,i=Math.max(0,Math.round((a>>16&255)*l)),r=Math.max(0,Math.round((a>>8&255)*l)),n=Math.max(0,Math.round((255&a)*l));return`#${(i<<16|r<<8|n).toString(16).padStart(6,"0")}`}(l),c="light"===s.mode?"light":"dark",o=e.layout||[];return(0,a.jsxs)("div",{className:"landing-page","data-mode":c,style:{"--landing-accent":l,"--landing-accent-dark":n},children:[(0,a.jsx)("style",{children:`
2        .landing-page {
3          font-family: var(--font-poppins), system-ui, sans-serif;
4          background: ${"dark"===c?"#0D0D0D":"#ffffff"};
5          color: ${"dark"===c?"#ffffff":"#0D0D0D"};
6          min-height: 100vh;
7        }
8        .landing-page a { color: inherit; }
9        .landing-page button { font-family: inherit; }
10        .landing-page .bg-surface { background: ${"dark"===c?"#1A1A1A":"#f7f7f7"}; }
11        .landing-page .bg-surface-2 { background: ${"dark"===c?"#242424":"#f0f0f0"}; }
12        .landing-page .border-subtle { border-color: ${"dark"===c?"rgba(255,255,255,0.1)":"rgba(0,0,0,0.1)"}; }
13        .landing-page .text-muted { color: ${"dark"===c?"rgba(255,255,255,0.65)":"rgba(0,0,0,0.65)"}; }
14        .landing-page .text-muted-2 { color: ${"dark"===c?"rgba(255,255,255,0.45)":"rgba(0,0,0,0.45)"}; }
15        @keyframes landing-pulse {
16          0%, 100% { opacity: 1; transform: scale(1); }
17          50% { opacity: 0.55; transform: scale(1.35); }
18        }
19        .landing-dot { animation: landing-pulse 2s ease-in-out infinite; }
20        html { scroll-behavior: smooth; }
21      `}),(0,a.jsx)(i.LandingNav,{page:e}),(0,a.jsx)("main",{children:(0,a.jsx)(E,{blocks:o,page:e,locationOptions:t})}),(0,a.jsx)(r.LandingFooter,{page:e})]})}var q=s(90445);function O({initialData:e,locationOptions:t=[]}){let s=(0,q.R)(),{data:i}=(0,l.o)({initialData:e,serverURL:s,depth:2});return(0,a.jsx)(B,{page:i,locationOptions:t})}},66983:(e,t,s)=>{"use strict";s.d(t,{D:()=>l});var a=s(9339);let l=(0,a.createServerReference)("4048cc9ba4c7bc0a46125626e5cf83a0fe4fe4b266",a.callServer,void 0,a.findSourceMapURL,"submitLead")},73388:(e,t,s)=>{"use strict";s.d(t,{LocationsMapBlock:()=>d});var a=s(95155),l=s(12115),i=s(85118),r=s(48144);function n(e){if(!e)return;if(e.startsWith("http"))return e;let t=e.match(/src="([^"]+)"/i);return t?.[1]}function c(e){return e.divisions?.find(e=>e.phone)?.phone}function o(e){return!!e&&"object"==typeof e&&!!(e.id&&e.city&&e.state)}function d({block:e}){let t,s=(e.locations||[]).filter(o),x=(e.newLocationSlugs||[]).map(e=>e.slug),m=n(e.defaultMapEmbedSrc||"")||"https://www.google.com/maps?q=California&output=embed",[h,p]=(0,l.useState)(null),u=(0,l.useMemo)(()=>s.find(e=>e.id===h)||null,[s,h]),g=(u?n(u.googleMapsEmbed||""):void 0)||m;return(0,a.jsx)("section",{className:"py-16 lg:py-24 bg-[#0D0D0D]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"max-w-3xl mx-auto text-center mb-10",children:[e.eyebrow&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:"var(--landing-accent)"},children:e.eyebrow}),e.heading&&(0,a.jsx)("h2",{className:"text-3xl lg:text-4xl font-black text-white",children:e.heading}),e.subheading&&(0,a.jsx)("p",{className:"text-base lg:text-lg text-white/65 mt-4",children:e.subheading})]}),(0,a.jsx)("div",{className:"rounded-2xl overflow-hidden border border-white/10 bg-[#1A1A1A]",children:(0,a.jsx)("iframe",{src:g,title:"Locations map",className:"w-full h-[420px] lg:h-[500px] block",loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",style:{filter:"invert(90%) hue-rotate(180deg) brightness(0.85) contrast(1.1)",border:0}},g)}),s.length>0&&(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-5 mt-6 text-xs text-white/60",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"w-2.5 h-2.5 rounded-full",style:{backgroundColor:"var(--landing-accent)"}}),e.legendNewLabel||"New Location"]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"w-2.5 h-2.5 rounded-full bg-white/40"}),e.legendExistingLabel||"Existing Location"]})]}),s.length>0&&(0,a.jsx)("div",{className:"mt-5 flex flex-wrap gap-2 justify-center",children:s.map(e=>{let t=x.includes(e.slug),s=e.id===h;return(0,a.jsxs)("button",{type:"button",onClick:()=>p(e.id),className:`inline-flex items-center gap-2 px-4 py-2 rounded-full text-sm border transition-colors ${s?"text-white":"text-white/75 hover:text-white border-white/20 hover:bg-white/10"}`,style:s?{borderColor:"var(--landing-accent)",background:"var(--landing-accent)",color:"white"}:void 0,children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full",style:{backgroundColor:t?"var(--landing-accent)":"rgba(255,255,255,0.5)"}}),e.city,", ",e.state]},e.id)})}),u&&(0,a.jsxs)("div",{className:"mt-6 max-w-xl mx-auto rounded-2xl border border-white/15 bg-white/5 p-6 text-center",children:[(0,a.jsx)("p",{className:"font-bold text-white text-lg",children:u.name}),(u.address||u.city)&&(0,a.jsx)("p",{className:"text-sm text-white/70 mt-1",children:[u.address,u.city,u.state,u.zip].filter(
21Boolean).join(", ")}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2 justify-center mt-4",children:[c(u)&&(0,a.jsxs)("a",{href:`tel:${c(u)?.replace(/\D/g,"")}`,className:"inline-flex items-center gap-2 px-4 py-2 rounded-md text-sm font-semibold text-white border border-white/20 hover:bg-white/10",children:[(0,a.jsx)(i.A,{size:14}),c(u)]}),e.primaryCtaText&&e.primaryCtaLink&&(0,a.jsx)("a",{href:e.primaryCtaLink,className:"inline-flex items-center gap-2 px-4 py-2 rounded-md text-sm font-bold text-white",style:{backgroundColor:"var(--landing-accent)"},children:e.primaryCtaText}),(0,a.jsxs)("a",{href:(t=[u.address,u.city,u.state,u.zip].filter(Boolean).join(", "),`https://www.google.com/maps/dir/?api=1&destination=${encodeURIComponent(t)}`),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 rounded-md text-sm font-semibold text-white border border-white/20 hover:bg-white/10",children:[(0,a.jsx)(r.A,{size:14}),"Directions"]})]})]})]})})}},73520:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,98500,23)),Promise.resolve().then(s.t.bind(s,38437,23)),Promise.resolve().then(s.bind(s,12587)),Promise.resolve().then(s.bind(s,83597)),Promise.resolve().then(s.bind(s,73388)),Promise.resolve().then(s.bind(s,35600)),Promise.resolve().then(s.bind(s,15610)),Promise.resolve().then(s.bind(s,23382)),Promise.resolve().then(s.bind(s,54265)),Promise.resolve().then(s.bind(s,51794))},83597:(e,t,s)=>{"use strict";s.d(t,{InventoryCardsBlock:()=>h});var a=s(95155),l=s(98500),i=s.n(l),r=s(94290),n=s(94514),c=s(21628),o=s(68822),d=s(22038);let x={accent:"",gold:"bg-amber-400 text-black",green:"bg-emerald-500 text-white",red:"bg-red-500/90 text-white",gray:"bg-white/10 text-white border border-white/20"},m={2:"sm:grid-cols-2",3:"sm:grid-cols-2 lg:grid-cols-3",4:"sm:grid-cols-2 lg:grid-cols-4"};function h({block:e}){let t=e.items||[],s=m[e.columns||"2"]||m["2"];return(0,a.jsxs)("section",{className:"relative py-16 lg:py-24 bg-[#1A1A1A]",children:[(0,a.jsx)("div",{"aria-hidden":!0,className:"absolute inset-x-0 top-0 h-[3px]",style:{backgroundColor:"var(--landing-accent)"}}),(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"text-center mb-12 lg:mb-14",children:[e.eyebrow&&(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.2em] mb-3",style:{color:"var(--landing-accent)"},children:e.eyebrow}),e.heading&&(0,a.jsx)("h2",{className:"text-3xl lg:text-5xl font-black text-white whitespace-pre-line leading-tight",children:e.heading}),e.subheading&&(0,a.jsx)("p",{className:"text-base lg:text-lg text-white/70 mt-4 max-w-2xl mx-auto",children:e.subheading})]}),(0,a.jsx)("div",{className:`grid gap-6 lg:gap-8 ${s}`,children:t.map((e,t)=>{let s=e.badgeColor||"accent",l="accent"===s?"":x[s]||"";return(0,a.jsxs)("div",{className:"rounded-2xl border border-white/10 bg-[#0F0F0F] overflow-hidden flex flex-col hover:border-white/25 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-6 pt-5",children:["number"==typeof e.stock&&(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 text-xs font-bold tracking-wider uppercase",children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-emerald-400 animate-pulse"}),(0,a.jsxs)("span",{className:"text-emerald-400",children:[e.stock," in stock"]})]}),e.badge&&(0,a.jsxs)("span",{className:`text-[10px] font-black tracking-widest uppercase px-2.5 py-1 rounded-full inline-flex items-center gap-1 ${l}`,style:"accent"===s?{backgroundColor:"var(--landing-accent)",color:"#fff"}:{},children:[e.badgeIcon&&(0,a.jsx)(d.$,{name:e.badgeIcon,fallback:r.A,size:9}),e.badge]})]}),(0,a.jsx)("div",{className:"px-6 pt-5 pb-4",children:(0,a.jsxs)("h3",{className:"text-white font-black text-2xl leading-tight",children:[e.name,e.subtitle&&(0,a.jsxs)("span",{className:"block text-base font-semibold mt-0.5",style:{color:"var(--landing-accent)"},children:["(",e.subtitle,")"]})]})}),e.features&&e.features.length>0&&(0,a.jsx)("ul",{className:"px-6 pb-5 space-y-2 flex-1",children:e.features.map((e,t)=>(0,a.jsxs)("li",{className:"flex items-center gap-3 text-white/80 text-sm",children:[(0,a.jsx)(n.A,{size:14,style:{color:"var(--landing-accent)"},className:"flex-shrink-0"}),(0,a.jsx)("span",{children:e.text})]},t))}),(()=>{let t=e.serials??[];if(0===t.length)return null;let s=t.findIndex(e=>!e.sold),l=t.filter((e,t)=>
21e.sold||t===s);return(0,a.jsx)("ul",{className:"px-6 pb-5 space-y-1.5",children:l.map((e,t)=>(0,a.jsx)("li",{className:"flex items-center gap-2 text-xs font-medium tracking-wide",children:e.sold?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"text-white/35 line-through",children:["Serial: ",e.serial]}),(0,a.jsx)("span",{className:"text-[9px] font-black uppercase tracking-widest px-1.5 py-0.5 rounded bg-red-500/90 text-white",children:"Sold"})]}):(0,a.jsxs)("span",{className:"text-white/70",children:["Serial: ",e.serial]})},t))})})(),(0,a.jsxs)("div",{className:"px-6 py-5 bg-black/40 border-t border-white/10 flex items-center justify-between gap-3",children:[(0,a.jsxs)("div",{children:[e.priceLabel&&(0,a.jsx)("span",{className:"block text-[10px] text-white/50 font-semibold tracking-widest uppercase",children:e.priceLabel}),(0,a.jsx)("span",{className:"block text-2xl font-black",style:{color:"var(--landing-accent)"},children:e.price}),e.priceFootnote&&(0,a.jsx)("span",{className:"block text-[11px] text-white/50 font-medium mt-0.5",children:e.priceFootnote})]}),e.ctaText&&e.ctaLink&&(0,a.jsxs)(i(),{href:e.ctaLink,onClick:()=>{let t;(t=e.ctaLink||"#quote-form").startsWith("#")&&e.ctaInterestValue&&setTimeout(()=>{if(document.querySelector(`${t} select`)){for(let s of Array.from(document.querySelectorAll(`${t} select`)))if(Array.from(s.options).some(t=>t.value===e.ctaInterestValue)){let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value")?.set;t?.call(s,e.ctaInterestValue),s.dispatchEvent(new Event("change",{bubbles:!0}));break}}},0)},className:"inline-flex items-center gap-1.5 px-5 py-2.5 rounded font-bold text-xs uppercase tracking-wider text-white transition-transform hover:-translate-y-0.5 shrink-0",style:{backgroundColor:"var(--landing-accent)"},children:[e.ctaText,(0,a.jsx)(c.A,{size:12})]})]})]},t)})}),e.footnote&&(0,a.jsxs)("p",{className:"text-sm text-white/50 mt-12 text-center w-full inline-flex items-center justify-center gap-2",children:[(0,a.jsx)(o.A,{size:14,style:{color:"var(--landing-accent)"},className:"flex-shrink-0"}),(0,a.jsx)("span",{children:e.footnote})]}),e.ctaText&&e.ctaLink&&(0,a.jsx)("div",{className:"text-center mt-10",children:(0,a.jsxs)(i(),{href:e.ctaLink,className:"inline-flex items-center gap-2 px-8 py-3.5 rounded font-bold text-sm uppercase tracking-wider text-white transition-transform hover:-translate-y-0.5",style:{backgroundColor:"var(--landing-accent)"},children:[e.ctaText,(0,a.jsx)(c.A,{size:14})]})})]})]})}},90445:(e,t,s)=>{"use strict";s.d(t,{R:()=>l});var a=s(73321);function l(){let e=(0,a.useSearchParams)(),t=e?.get("adminOrigin")||void 0;return t||window.location.origin}}},e=>{e.O(0,[8568,4119,7974,9081,5848,8441,3794,7358],()=>e(e.s=73520)),_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.