PageSourceSearch

https://newageproducts.com/_next/static/chunks/a438df7d6f4a8b91.js

js newageproducts.com collected 2026-09-25 13:59:04 UTC 31,102 bytes, 569 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63324,e=>{"use strict";var t=e.i(627783),a=e.i(45313),o=e.i(461674),n=e.i(174915),i=e.i(811821),r=e.i(739564);function s(e){try{if(!o.FORM_IDS.has(e)||!(0,a.isProductionAnalyticsAllowed)()||!0!==(0,t.getConsent)().analytics&&!0!==(0,t.getConsent)().marketing||!0===navigator.webdriver||!["newageproducts.com","www.newageproducts.com"].includes(window.location.hostname)||"https:"!==window.location.protocol||/(?:^|;\s*)nap_analytics_qa=1(?:;|$)/.test(document.cookie||""))return{};return{"X-NAP-Lead-ID":`nap:lead:${window.crypto.randomUUID()}`,"X-NAP-Lead-Form":e}}catch{return{}}}function l(e){try{(0,r.trackCompletedLeadReceipt)(e?.lead)}catch{}try{(0,n.trackPinterestReceipt)(e?.pinterest)}catch{}try{(0,i.trackRedditLead)(e?.reddit)}catch{}}e.s(["leadSubmissionHeaders",()=>s,"trackLeadReceipt",()=>l])},60473,e=>{"use strict";var t=e.i(391398),a=e.i(191788),o=e.i(63324),n=e.i(739564),i=e.i(203828),r=e.i(760814),s=e.i(577609);let l="#1660F0",d="#E23D3D",c="#16181B",p="#82878C",u=["Virtual Consultation"],h=["Virtual Consultation","In-Store Consultation"],m=[{id:"Call",icon:"phone"},{id:"Text",icon:"chat"},{id:"Email",icon:"mail"}],f=[{id:"Garage",desc:"Cabinetry · Flooring · Racking"},{id:"Outdoor Kitchen",desc:"Grills · Cabinetry · Appliances"},{id:"Other",desc:"Detail Within Notes"}],x=["<$1K","$2.5K","$5K","$7.5K","$10K+"],g=["Google / Search","Social Media","Referred by a Friend","Home Show or Event","Retail Store","Other"],b=/^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?)*\.[a-zA-Z]{2,}$/,w=(e,t,a)=>{switch(e){case"name":{let e=t.name.trim();if(e.length<2)return"Please enter your full name.";if(!/^[A-Za-zÀ-ÿ' .-]+$/.test(e))return"Name can contain letters only.";return""}case"email":return b.test(t.email.trim())?"":"Please enter a valid email address.";case"phone":return/^\d{10}$/.test(t.phone)?"":"Please enter a valid 10-digit phone number.";case"zip":{let e=t.zip.trim();if(a)return/^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(e)?"":"Please enter a valid 6-character postal code.";return/^\d{5}$/.test(e)?"":"Please enter a valid 5-digit ZIP code."}case"consent":return t.consent?"":"Please check the box to continue.";default:return""}},y=e=>(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",...e}),C=e=>(0,t.jsx)(y,{...e,children:(0,t.jsx)("path",{d:"M20 6 9 17l-5-5"})}),j=e=>(0,t.jsxs)(y,{...e,children:[(0,t.jsx)("path",{d:"M5 12h14"}),(0,t.jsx)("path",{d:"m12 5 7 7-7 7"})]}),$=e=>(0,t.jsx)(y,{...e,children:(0,t.jsx)("path",{d:"m6 9 6 6 6-6"})}),N=e=>(0,t.jsx)(y,{...e,children:(0,t.jsx)("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z"})}),v=e=>(0,t.jsxs)(y,{...e,children:[(0,t.jsx)("path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"}),(0,t.jsx)("path",{d:"m3.27 6.96 8.73 5.05 8.73-5.05"}),(0,t.jsx)("path",{d:"M12 22.08V12"})]}),_=e=>(0,t.jsxs)(y,{...e,children:[(0,t.jsx)("path",{d:"M20.59 13.41 12 22l-8.59-8.59A2 2 0 0 1 2.83 12L2 3l9-.83a2 2 0 0 1 1.42.59l8.17 8.17a2 2 0 0 1 0 2.83z",transform:"rotate(0)"}),(0,t.jsx)("path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z"}),(0,t.jsx)("circle",{cx:"7.5",cy:"7.5",r:".75",fill:"currentColor",stroke:"none"})]}),S={phone:N,chat:e=>(0,t.jsx)(y,{...e,children:(0,t.jsx)("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})}),mail:e=>(0,t.jsxs)(y,{...e,children:[(0,t.jsx)("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),(0,t.jsx)("path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"})]})},k=r.createGlobalStyle`
2  @import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow+Semi+Condensed:wght@400;500;600;700&display=swap');
3`,I=r.keyframes`
4  from { opacity: 0; transform: translateY(8px); }
5  to   { opacity: 1; transform: none; }
6`,z=r.default.div.withConfig({displayName:"StartYourConsultationNew__Page",componentId:"sc-e0b8e8c0-0"})`
7  background: #ecedef;
8  display: flex;
9  justify-content: center;
10  align-items: flex-start;
11  padding: 64px 24px;
12  font-family: "helvetica-neue-lt-pro", sans-serif;
13  color: ${c};
14  -webkit-font-smoothing: antialiased;
15  ${s.default.tablet} {
16    padding: 30px 10px;
17  }
18
19  *,
20  *::before,
21  *::after {
22    box-sizing: border-box;
23  }
24
25  .consultation-type {
26    margin-bottom: 12px !important;
27  }
28
29  .consultation-summary {
30    margin-bottom: 10px;
31  }
32  .label-notes {
33    gap: 6px !important;
34    ${s.default.tablet} {
35      gap: 2px !important;
36    }
37  }
38`,Y=r.default.div.withConfig({displayName:"StartYourConsultationNew__Card",componentId:"sc-e0b8e8c0-1"})`
39  background: #fff;
40  width: 100%;
41  max-width: 600px;
42  padding: 32px;
43  box-shadow: 0 10px 34px rgba(15, 18, 22, 0.1);
44  scroll-margin-top: 24px;
45
46  ${s.default.tablet} {
47    padding: 20px;
48  }
49`,P=r.default.div.withConfig({displayName:"StartYourConsultationNew__StepWrap",componentId:"sc-e0b8e8c0-2"})`
50  animation: ${I} 0.35s ease both;
51
52  @media (prefers-reduced-motion: reduce) {
53    animation: none;
54  }
55`,T=r.default.p.withConfig({displayName:"StartYourConsultationNew__Eyebrow",componentId:"sc-e0b8e8c0-3"})`
56  margin: 0 0 12px;
57  text-align: center;
58  font-family: "helvetica-neue-lt-pro", sans-serif;
59  font-size: 11px;
60  font-weight: 600;
61  letter-spacing: normal;
62  text-transform: uppercase;
63  color: #6b6b6b;
64`,A=r.default.p.withConfig({displayName:"StartYourConsultationNew__StatusLine",componentId:"sc-e0b8e8c0-4"})`
65  margin: 0 0 12px;
66  display: flex;
67  align-items: center;
68  justify-content: center;
69  gap: 6px;
70  font-family: "helvetica-neue-lt-pro", sans-serif;
71  font-size: 11px;
72  font-weight: 600;
73  letter-spacing: 0.08em;
74  text-transform: uppercase;
75  color: ${"#6b6b6b"};
76
77  svg {
78    width: 15px;
79    height: 15px;
80    color: ${"#16A34A"};
81  }
82`,E=r.default.h2.withConfig({displayName:"StartYourConsultationNew__Title",componentId:"sc-e0b8e8c0-5"})`
83  margin: 0;
84  text-align: center;
85  font-family: "helvetica-neue-lt-pro", sans-serif;
86  font-weight: 700;
87  font-size: 30px;
88  letter-spacing: 0 !important;
89  text-transform: uppercase;
90  color: #0a0a0a;
91  ${s.default.tablet} {
92    font-size: 22px;
93  }
94`,L=r.default.hr.attrs({"aria-hidden":"true"}).withConfig({displayName:"StartYourConsultationNew__Divider",componentId:"sc-e0b8e8c0-6"})`
95  border: 0;
96  border-top: 1px solid ${"#E6E7E9"};
97  margin: 24px 0;
98`,R=r.default.span.withConfig({displayName:"StartYourConsultationNew__Label",componentId:"sc-e0b8e8c0-7"})`
99  display: flex;
100  align-items: baseline;
101  gap: 8px;
102  margin-bottom: 10px;
103  font-family: "helvetica-neue-lt-pro", sans-serif;
104  font-size: 12px;
105  font-weight: 500;
106  text-transform: uppercase;
107  color: #3a3a3a;
108  letter-spacing: 0 !important;
109  ${s.default.tablet} {
110    gap: 8px;
111  }
112`,F=r.default.span.withConfig({displayName:"StartYourConsultationNew__LabelNum",componentId:"sc-e0b8e8c0-8"})`
113  font-weight: 600;
114  color: #9e9e9e;
115`,M=r.default.span.withConfig({displayName:"StartYourConsultationNew__LabelHint",componentId:"sc-e0b8e8c0-9"})`
116  font-family: "helvetica-neue-lt-pro", sans-serif;
117  font-size: 12px;
118  font-weight: 400;
119  letter-spacing: 0;
120  text-transform: none;
121  color: ${"#8A9096"};
122`,U=r.default.span.withConfig({displayName:"StartYourConsultationNew__ErrorText",componentId:"sc-e0b8e8c0-10"})`
123  display: block;
124  margin-top: 6px;
125  font-size: 12px;
126  font-weight: 500;
127  color: ${d};
128`,D=r.css`
129  width: 100%;
130  font-family: "helvetica-neue-lt-pro", sans-serif;
131  font-size: 15px;
132  font-weight: 500;
133  color: ${c};
134  background: ${"#F3F4F5"};
135  border: 1px solid ${e=>e.$error?d:"#82878C"};
136  border-radius: 2px;
137  transition:
138    border-color 0.15s ease,
139    background 0.15s ease;
140
141  &::placeholder {
142    color: #9aa0a6;
143    font-weight: 400;
144  }
145  &:focus {
146    outline: none;
147    border-color: ${e=>e.$error?d:l};
148    background: #fff;
149  }
150`,Z=r.default.input.withConfig({displayName:"StartYourConsultationNew__Input",componentId:"sc-e0b8e8c0-11"})`
151  ${D};
152  height: 44px;
153  padding: 13px 15px;
154  border-radius: 0px;
155  ${s.default.tablet} {
156    font-weight: 400;
157  }
158`,B=r.default.textarea.withConfig({displayName:"StartYourConsultationNew__TextArea",componentId:"sc-e0b8e8c0-12"})`
159  ${D};
160  min-height: 89px;
161  padding: 13px 15px;
162  font-size: 14px;
163  resize: vertical;
164`,H=r.default.div.withConfig({displayName:"StartYourConsultationNew__FieldGrid",componentId:"sc-e0b8e8c0-13"})`
165  display: grid;
166  grid-template-columns: 1fr 1fr;
167  gap: 22px 20px;
168
169  @media (max-width: 767px) {
170    grid-template-columns: 1fr;
171  }
172`,O=r.default.label.withConfig({displayName:"StartYourConsultationNew__Field",componentId:"sc-e0b8e8c0-14"})`
173  display: block;
174`,K=r.default.div.withConfig({displayName:"StartYourConsultationNew__Section",componentId:"sc-e0b8e8c0-15"})`
175  margin-top: 22px;
176`,V=r.css`
177  position: absolute;
178  width: 1px;
179  height: 1px;
180  padding: 0;
181  margin: -1px;
182  overflow: hidden;
183  clip: rect(0 0 0 0);
184  white-space: nowrap;
185  border: 0;
186`,G=r.default.input.withConfig({displayName:"StartYourConsultationNew__HiddenInput",componentId:"sc-e0b8e8c0-16"})`
187  ${V};
188`,q=r.default.div.withConfig({displayName:"StartYourConsultationNew__RadioGroup",componentId:"sc-e0b8e8c0-17"})`
189  display: flex;
190  flex-direction: column;
191  gap: 12px;
192`,W=r.default.label.withConfig({displayName:"StartYourConsultationNew__RadioRow",componentId:"sc-e0b8e8c0-18"})`
193  display: inline-flex;
194  align-items: center;
195  gap: 10px;
196  cursor: pointer;
197  font-size: 14px;
198  font-weight: 400;
199  color: #2b3440;
200  width: fit-content;
201`,X=r.default.span.withConfig({displayName:"StartYourConsultationNew__RadioControl",componentId:"sc-e0b8e8c0-19"})`
202  position: relative;
203  width: 16px;
204  height: 16px;
205  flex-shrink: 0;
206  border-radius: 50%;
207  border: 1px solid ${e=>e.$checked?l:p};
208  background: #fff;
209  transition: border-color 0.15s ease;
210
211  &::after {
212    content: "";
213    position: absolute;
214    top: 0;
215    right: 0;
216    bottom: 0;
217    left: 0;
218    margin: auto;
219    width: 8px;
220    height: 8px;
221    border-radius: 50%;
222    background: ${l};
223    transform: scale(${e=>+!!e.$checked});
224    transition: transform 0.15s ease;
225  }
226
227  input:focus-visible + & {
228    outline: 2px solid ${l};
229    outline-offset: 2px;
230  }
231`,J=r.default.label.withConfig({displayName:"StartYourConsultationNew__ConsentRow",componentId:"sc-e0b8e8c0-20"})`
232  display: flex;
233  align-items: flex-start;
234  gap: 10px;
235  cursor: pointer;
236`,Q=r.default.span.withConfig({displayName:"StartYourConsultationNew__CheckControl",componentId:"sc-e0b8e8c0-21"})`
237  width: ${e=>e.$small?"15px":"16px"};
238  height: ${e=>e.$small?"15px":"16px"};
239  flex-shrink: 0;
240  margin-top: ${e=>e.$small?"0":"2px"};
241  border-radius: 0px;
242  border: 1.5px solid ${e=>e.$error?d:e.$checked?l:"#c6cbd1"};
243  background: ${e=>e.$checked?l:"#fff"};
244  display: inline-flex;
245  align-items: center;
246  justify-content: center;
247  color: #fff;
248  transition:
249    background 0.15s ease,
250    border-color 0.15s ease;
251
252  svg {
253    width: ${e=>e.$small?"10px":"12px"};
254    height: ${e=>e.$small?"10px":"12px"};
255    stroke-width: 3;
256    opacity: ${e=>+!!e.$checked};
257  }
258
259  input:focus-visible + & {
260    outline: 2px solid ${l};
261    outline-offset: 2px;
262  }
263`,ee=r.default.span.withConfig({displayName:"StartYourConsultationNew__ConsentText",componentId:"sc-e0b8e8c0-22"})`
264  font-family: "helvetica-neue-lt-pro", sans-serif;
265  font-weight: 400;
266  font-size: 13px;
267  line-height: 1.5;
268  color: #6b6b6b;
269
270  a {
271    color: #0a0a0a;
272    text-decoration: underline;
273    text-underline-offset: 2px;
274  }
275  a:hover {
276    color: ${l};
277  }
278`,et=r.default.div.withConfig({displayName:"StartYourConsultationNew__OptionGrid",componentId:"sc-e0b8e8c0-23"})`
279  display: grid;
280  grid-template-columns: repeat(3, 1fr);
281  gap: 8px;
282`,ea=r.default.button.withConfig({displayName:"StartYourConsultationNew__OptionButton",componentId:"sc-e0b8e8c0-24"})`
283  font-family: "helvetica-neue-lt-pro", sans-serif;
284  height: 44px;
285  display: inline-flex;
286  align-items: center;
287  justify-content: center;
288  gap: 8px;
289  background: #fff;
290  border: 1px solid ${e=>e.$active?"#0C67E7":p};
291  box-shadow: ${e=>e.$active?"inset 0 0 0 1px #0C67E7":"none"};
292  border-radius: 0px;
293  font-size: 14px;
294  font-weight: ${e=>e.$active?600:500};
295  color: ${c};
296  cursor: pointer;
297  padding: 12px;
298  transition:
299    border-color 0.15s ease,
300    box-shadow 0.15s ease;
301
302  svg {
303    width: 15px;
304    height: 15px;
305    color: #575c62;
306  }
307
308  &:hover {
309    border-color: ${e=>e.$active?l:"#aab0b7"};
310  }
311  &:focus-visible {
312    outline: 2px solid ${l};
313    outline-offset: 2px;
314  }
315  ${s.default.tablet} {
316    font-size: 12px;
317  }
318`,eo=r.default.button.withConfig({displayName:"StartYourConsultationNew__ProjectCard",componentId:"sc-e0b8e8c0-25"})`
319  font-family: "helvetica-neue-lt-pro", sans-serif;
320  padding: 14px 12px;
321  background: #fff;
322  border: 1px solid ${e=>e.$active?l:p};
323  box-shadow: ${e=>e.$active?`inset 0 0 0 1px ${l}`:"none"};
324  border-radius: 0px;
325  text-align: center;
326  cursor: pointer;
327  transition:
328    border-color 0.15s ease,
329    box-shadow 0.15s ease;
330
331  &:hover {
332    border-color: ${e=>e.$active?l:"#aab0b7"};
333  }
334  &:focus-visible {
335    outline: 2px solid ${l};
336    outline-offset: 2px;
337  }
338`,en=r.default.span.withConfig({displayName:"StartYourConsultationNew__ProjectTitle",componentId:"sc-e0b8e8c0-26"})`
339  display: block;
340  font-size: 13px;
341  font-weight: 600;
342  color: #0a0a0a;
343  line-height: 1.2;
344  ${s.default.tablet} {
345    font-size: 13px;
346  }
347`,ei=r.default.span.withConfig({displayName:"StartYourConsultationNew__ProjectDesc",componentId:"sc-e0b8e8c0-27"})`
348  display: block;
349  margin-top: 6px;
350  font-size: 11px;
351  color: #9e9e9e;
352  line-height: 1.3;
353`,er=r.default.div.withConfig({displayName:"StartYourConsultationNew__BudgetHead",componentId:"sc-e0b8e8c0-28"})`
354  display: flex;
355  align-items: baseline;
356  justify-content: space-between;
357  gap: 12px;
358  margin-bottom: 20px;
359`,es=r.default.label.withConfig({displayName:"StartYourConsultationNew__UnsureLabel",componentId:"sc-e0b8e8c0-29"})`
360  display: inline-flex;
361  align-items: center;
362  gap: 6px;
363  cursor: pointer;
364  font-size: 12px;
365  font-weight: 400;
366  color: #5a6068;
367  white-space: nowrap;
368`,el=r.default.input.attrs({type:"range"}).withConfig({displayName:"StartYourConsultationNew__Slider",componentId:"sc-e0b8e8c0-30"})`
369  -webkit-appearance: none;
370  appearance: none;
371  display: block;
372  width: 100%;
373  height: 3px;
374  margin: 10px 0 0;
375  border-radius: 0;
376  background: ${e=>e.disabled?"#dadde1":`linear-gradient(to right, ${l} ${e.$pct}%, #d7dadf ${e.$pct}%)`};
377  outline: none;
378  cursor: ${e=>e.disabled?"not-allowed":"pointer"};
379
380  &::-webkit-slider-thumb {
381    -webkit-appearance: none;
382    width: 16px;
383    height: 16px;
384    border: none;
385    border-radius: 0;
386    background: ${e=>e.disabled?"#b9bdc2":l};
387    cursor: ${e=>e.disabled?"not-allowed":"grab"};
388  }
389  &::-moz-range-thumb {
390    width: 16px;
391    height: 16px;
392    border: none;
393    border-radius: 0;
394    background: ${e=>e.disabled?"#b9bdc2":l};
395    cursor: ${e=>e.disabled?"not-allowed":"grab"};
396  }
397  &:focus-visible {
398    outline: 2px solid ${l};
399    outline-offset: 4px;
400  }
401`,ed=r.default.div.withConfig({displayName:"StartYourConsultationNew__StopsRow",componentId:"sc-e0b8e8c0-31"})`
402  position: relative;
403  height: 13px;
404  margin-top: 16px;
405`,ec=r.default.button.withConfig({displayName:"StartYourConsultationNew__Stop",componentId:"sc-e0b8e8c0-32"})`
406  position: absolute;
407  top: 0;
408  left: calc(${e=>e.$left}% + ${e=>e.$offset}px);
409  transform: translateX(-50%);
410  padding: 0;
411  background: none;
412  border: none;
413  font-family: "helvetica-neue-lt-pro", sans-serif;
414  font-size: 11px;
415  font-weight: ${e=>e.$active?700:400};
416  color: ${e=>e.$muted?"#b9bdc2":e.$active?"#0a0a0a":"#9e9e9e"};
417  cursor: ${e=>e.$muted?"default":"pointer"};
418  transition: color 0.15s ease;
419`,ep=r.default.div.withConfig({displayName:"StartYourConsultationNew__SelectWrap",componentId:"sc-e0b8e8c0-33"})`
420  position: relative;
421
422  svg {
423    position: absolute;
424    right: 14px;
425    top: 50%;
426    transform: translateY(-50%);
427    width: 16px;
428    height: 16px;
429    color: ${c};
430    pointer-events: none;
431  }
432`,eu=r.default.select.withConfig({displayName:"StartYourConsultationNew__Select",componentId:"sc-e0b8e8c0-34"})`
433  ${D};
434  height: 44.4px;
435  padding: 13px 40px 13px 15px;
436  appearance: none;
437  border-radius: 0px;
438  -webkit-appearance: none;
439  color: ${e=>e.$placeholder?"#7a7f85":c};
440  cursor: pointer;
441`,eh=r.default.button.withConfig({displayName:"StartYourConsultationNew__PrimaryButton",componentId:"sc-e0b8e8c0-35"})`
442  font-family: "helvetica-neue-lt-pro", sans-serif;
443  font-size: 14px;
444  font-weight: 500;
445  padding: 15px;
446  width: 100%;
447  margin-top: 24px;
448  display: inline-flex;
449  align-items: center;
450  height: 47.6px;
451  justify-content: center;
452  gap: 8px;
453  background: #0c67e7;
454  border: none;
455  border-radius: 0;
456  text-transform: uppercase;
457  color: #fff;
458  cursor: pointer;
459  transition: background 0.15s ease;
460  ${s.default.tablet} {
461    font-size: 12px;
462    padding: 16px;
463  }
464  svg {
465    width: 16px;
466    height: 16px;
467  }
468
469  &:hover:not(:disabled) {
470    background: ${"#0F51D6"};
471  }
472  &:focus-visible {
473    outline: 2px solid ${l};
474    outline-offset: 3px;
475  }
476  &:disabled {
477    background: #9fb6ea;
478    cursor: not-allowed;
479  }
480`,em=r.default.p.withConfig({displayName:"StartYourConsultationNew__SubmitError",componentId:"sc-e0b8e8c0-36"})`
481  margin: 10px 0 0;
482  text-align: center;
483  font-size: 12.5px;
484  font-weight: 500;
485  color: ${d};
486`,ef=r.default.div.withConfig({displayName:"StartYourConsultationNew__TrustRow",componentId:"sc-e0b8e8c0-37"})`
487  margin-top: 20px;
488  display: grid;
489  grid-template-columns: repeat(3, 1fr);
490  gap: 8px;
491`,ex=r.default.div.withConfig({displayName:"StartYourConsultationNew__TrustItem",componentId:"sc-e0b8e8c0-38"})`
492  display: flex;
493  flex-direction: column;
494  align-items: center;
495  gap: 6px;
496  text-align: center;
497
498  svg {
499    width: 16px;
500    height: 16px;
501    stroke-width: 1.5;
502    color: #0a0a0a;
503  }
504`,eg=r.default.span.withConfig({displayName:"StartYourConsultationNew__TrustLabel",componentId:"sc-e0b8e8c0-39"})`
505  font-family: "helvetica-neue-lt-pro", sans-serif;
506  font-size: 11px;
507  font-weight: 600;
508  line-height: 1.4;
509  text-transform: uppercase;
510  color: #6b6b6b;
511`,eb=r.default.p.withConfig({displayName:"StartYourConsultationNew__SummaryIntro",componentId:"sc-e0b8e8c0-40"})`
512  margin: 0 0 24px;
513  font-size: 14px;
514  color: #6b6b6b;
515  line-height: 1.5;
516`,ew=r.default.dl.withConfig({displayName:"StartYourConsultationNew__SummaryList",componentId:"sc-e0b8e8c0-41"})`
517  margin: 0 0 24px;
518  border-top: 1px solid #e0e0e0;
519`,ey=r.default.div.withConfig({displayName:"StartYourConsultationNew__SummaryRowEl",componentId:"sc-e0b8e8c0-42"})`
520  display: flex;
521  align-items: center;
522  justify-content: space-between;
523  gap: 16px;
524  padding: 12px 0;
525  border-bottom: 1px solid #e0e0e0;
526`,eC=r.default.dt.withConfig({displayName:"StartYourConsultationNew__SummaryKey",componentId:"sc-e0b8e8c0-43"})`
527  margin: 0;
528  font-family: "helvetica-neue-lt-pro", sans-serif;
529  font-size: 11px;
530  font-weight: 600;
531  text-transform: uppercase;
532  color: #9e9e9e;
533  flex-shrink: 0;
534`,ej=r.default.dd.withConfig({displayName:"StartYourConsultationNew__SummaryValue",componentId:"sc-e0b8e8c0-44"})`
535  margin: 0;
536  font-size: 14px;
537  font-weight: 500;
538  color: "#0a0a0a";
539  text-align: right;
540  overflow-wrap: anywhere;
541  word-break: break-word;
542`,e$=r.default.div.withConfig({displayName:"StartYourConsultationNew__Callout",componentId:"sc-e0b8e8c0-45"})`
543  margin-top: 24px;
544  display: flex;
545  align-items: center;
546  gap: 10px;
547  padding: 14px 16px;
548  background: #eef4ff;
549  border: 1px solid #d6e4fb;
550  border-radius: 0px;
551  font-size: 14px;
552  color: #3a3a3a;
553
554  svg {
555    width: 18px;
556    height: 18px;
557    flex-shrink: 0;
558    color: #1660f0;
559  }
560
561  a {
562    font-weight: 700;
563    color: ${l};
564    text-decoration: none;
565  }
566  a:hover {
567    text-decoration: underline;
568  }
569`;function eN({webFormSource:e,formId:r,pinterestLead:s=!0}){let l=(0,i.useRouter)(),d=l.asPath.split("/").includes("ca"),[c,p]=(0,a.useState)(1),[b,y]=(0,a.useState)({}),[I,D]=(0,a.useState)({}),[V,eN]=(0,a.useState)(!1),[ev,e_]=(0,a.useState)(""),eS=d?h:u,ek=(0,a.useRef)(null),eI=(0,a.useRef)(!1),[ez,eY]=(0,a.useState)({name:"",email:"",phone:"",zip:"",consultType:"Virtual Consultation",consent:!1,contactMethod:"Call",projectType:"Garage",budgetIdx:1,budgetUnsure:!1,source:"",notes:""}),eP=(e,t)=>{let a={...ez,[e]:t};eY(a),I[e]&&y(t=>({...t,[e]:w(e,a,d)}))},eT=e=>{D(t=>({...t,[e]:!0})),y(t=>({...t,[e]:w(e,ez,d)}))},eA=()=>{requestAnimationFrame(()=>{ek.current?.scrollIntoView({behavior:"smooth",block:"start"})})},eE=async()=>{if(V)return;eN(!0),e_("");let t=s?(0,o.leadSubmissionHeaders)("consultation"):{},a=new FormData;a.append("name",ez.name.trim()),a.append("email",ez.email.trim()),a.append("phone",ez.phone),a.append("zip",ez.zip.trim().toUpperCase()),a.append("consultType",ez.consultType),a.append("contactMethod",ez.contactMethod),a.append("projectType",ez.projectType),a.append("budget",ez.budgetUnsure?"Not sure":x[ez.budgetIdx]),a.append("source",ez.source),a.append("notes",ez.notes.trim()),a.append("countryDropdown",d?"Canada":"USA");let n=async()=>{let e=await fetch("/api/start-consultation-new/",{method:"POST",headers:t,body:a});if(!e.ok)throw Error(`Request failed (${e.status})`);if(s){let t=await e.json().catch(()=>null);(0,o.trackLeadReceipt)(t)}},i=async()=>{let a=await fetch("/api/design-smartsheet-api/"),n=(t=>{if(!t)return null;let a={"First Name":ez.name.trim(),"Last Name":"",Email:ez.email.trim(),"Phone Number":ez.phone,Country:d?"Canada":"USA","ZIP / Postal Code":ez.zip.trim().toUpperCase(),"Product Interest (multi-select)":ez.projectType,"Service Interest (multi-select)":ez.consultType,"Contact Method":ez.contactMethod,Budget:ez.budgetUnsure?"Not sure":x[ez.budgetIdx],"How did you hear about us? (single-select)":ez.source,"User Comments":ez.notes.trim(),"Web Form Source":e||"Home Page","Newsletter signup":"false"};return t.filter(e=>"CREATED_DATE"!==e.systemColumnType).map(e=>({columnId:e.id,value:a[e.title]??""}))})(await a.json());if(!n)return;let i=await fetch("/api/design-smartsheet-api/",{method:"POST",headers:{"Content-Type":"application/json",...t},body:JSON.stringify({rows:{toTop:!0,cells:n}})});if(!i.ok)throw Error(`Smartsheet row creation failed (${i.status})`);if(s){let e=await i.json().catch(()=>null);(0,o.trackLeadReceipt)(e)}},[r,l]=await Promise.allSettled([n(),i()]);"rejected"===l.status&&console.error("Smartsheet row creation failed:",l.reason),eN(!1),"fulfilled"===r.status?(p(3),eA()):(console.error("Consultation request failed:",r.reason),e_("We couldn't send your request. Please try again."))},eL=ez.budgetIdx/(x.length-1)*100,eR=ez.budgetUnsure?"Not sure":x[ez.budgetIdx];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k,{}),(0,t.jsx)(z,{children:(0,t.jsxs)(Y,{ref:ek,id:r||"form","data-nap-lead-form":"consultation",children:[1===c&&(0,t.jsxs)(P,{children:[(0,t.jsx)(T,{children:"Full-Service Project Support: Plan. Design. Install."}),(0,t.jsx)(E,{children:"Start Your Free Consultation"}),(0,t.jsx)(L,{}),(0,t.jsxs)(H,{children:[(0,t.jsxs)(O,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(F,{className:"font-ds26-gray",children:"01"})," Full Name"]}),(0,t.jsx)(Z,{$error:!!b.name,autoComplete:"name",maxLength:60,value:ez.name,onChange:e=>eP("name",e.target.value.replace(/[^A-Za-zÀ-ÿ' .-]/g,"").replace(/\s{2,}/g," ").slice(0,60)),onBlur:()=>eT("name")}
569),b.name&&(0,t.jsx)(U,{children:b.name})]}),(0,t.jsxs)(O,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(F,{className:"font-ds26-gray",children:"02"})," Email"]}),(0,t.jsx)(Z,{type:"email",$error:!!b.email,autoComplete:"email",maxLength:100,value:ez.email,onChange:e=>eP("email",e.target.value.replace(/\s/g,"").slice(0,100)),onBlur:()=>eT("email")}),b.email&&(0,t.jsx)(U,{children:b.email})]}),(0,t.jsxs)(O,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(F,{className:"font-ds26-gray",children:"03"})," Phone Number"]}),(0,t.jsx)(Z,{type:"tel",inputMode:"numeric",$error:!!b.phone,autoComplete:"tel",maxLength:10,value:ez.phone,onChange:e=>eP("phone",e.target.value.replace(/\D/g,"").slice(0,10)),onBlur:()=>eT("phone")}),b.phone&&(0,t.jsx)(U,{children:b.phone})]}),(0,t.jsxs)(O,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(F,{className:"font-ds26-gray",children:"04"})," ",d?"Postal Code":"Zip Code"]}),(0,t.jsx)(Z,{$error:!!b.zip,autoComplete:"postal-code",inputMode:d?"text":"numeric",maxLength:d?6:5,value:ez.zip,onChange:e=>{let t;return eP("zip",(t=e.target.value,d?t.toUpperCase().replace(/[^A-Z0-9]/g,"").slice(0,6):t.replace(/\D/g,"").slice(0,5)))},onBlur:()=>eT("zip")}),b.zip&&(0,t.jsx)(U,{children:b.zip})]})]}),(0,t.jsxs)(K,{children:[(0,t.jsxs)(R,{className:"consultation-type",as:"span",children:[(0,t.jsx)(F,{className:"font-ds26-gray",children:"05"})," ","Consultation Type"]}),(0,t.jsx)(q,{role:"radiogroup","aria-label":"Consultation type",children:eS.map(e=>(0,t.jsxs)(W,{children:[(0,t.jsx)(G,{type:"radio",name:"consultType",checked:ez.consultType===e,onChange:()=>eP("consultType",e)}),(0,t.jsx)(X,{$checked:ez.consultType===e}),e]},e))})]}),(0,t.jsx)(L,{style:{margin:"24px 0"}}),(0,t.jsxs)(J,{children:[(0,t.jsx)(G,{type:"checkbox",checked:ez.consent,onChange:e=>{eP("consent",e.target.checked),e.target.checked&&y(e=>({...e,consent:""}))}}),(0,t.jsx)(Q,{$checked:ez.consent,$error:!!b.consent,children:(0,t.jsx)(C,{})}),(0,t.jsxs)(ee,{children:["By checking this box, I agree to receive text messages from NewAge Products related to appointment scheduling, reminders, and post-visit instructions, as well as marketing emails with exclusive offers and product updates. Message frequency may vary and message & data rates may apply; reply STOP to opt out or HELP for assistance. I acknowledge I have read and agree to the"," ",(0,t.jsx)("a",{href:d?"/ca/terms-of-use/":"/terms-of-use/",target:"_blank",rel:"noreferrer","aria-label":"Terms of Service (opens in a new tab)",children:"Terms of Service"})," ","and"," ",(0,t.jsx)("a",{href:d?"/ca/privacy-policy/":"/privacy-policy/",target:"_blank",rel:"noreferrer","aria-label":"Privacy Policy (opens in a new tab)",children:"Privacy Policy"}),"."]})]}),b.consent&&(0,t.jsx)(U,{children:b.consent}),(0,t.jsxs)(eh,{type:"button",onClick:()=>{let e={};["name","email","phone","zip"].forEach(t=>{let a=w(t,ez,d);a&&(e[t]=a)}),D({name:!0,email:!0,phone:!0,zip:!0}),y(e),Object.keys(e).length||(eI.current||(eI.current=!0===(0,n.trackLeadStep1)("consultation",l.pathname)),p(2),eA())},"data-nap-lead-cta":"form_continue",children:["Submit ",(0,t.jsx)(j,{})]}),(0,t.jsxs)(ef,{children:[(0,t.jsxs)(ex,{children:[(0,t.jsx)(v,{}),(0,t.jsx)(eg,{children:"Free 3D Design & Quote"})]}),(0,t.jsxs)(ex,{children:[(0,t.jsx)(_,{}),(0,t.jsx)(eg,{children:"Exclusive Offers"})]}),(0,t.jsxs)(ex,{children:[(0,t.jsx)(C,{}),(0,t.jsx)(eg,{children:"Trusted by 100,000+ Homes"})]})]})]},"s1"),2===c&&(0,t.jsxs)(P,{children:[(0,t.jsxs)(A,{children:[(0,t.jsx)(C,{}),"One More Step – Finish to Send Your Request."]}),(0,t.jsx)(E,{children:"To Help Your Advisor Prepare"}),(0,t.jsx)(L,{}),(0,t.jsxs)("div",{children:[(0,t.jsx)(R,{as:"span",children:"Preferred Contact Method"}),(0,t.jsx)(et,{children:m.map(e=>{let a=S[e.icon];return(0,t.jsxs)(ea,{type:"button",$active:ez.contactMethod===e.id,"aria-pressed":ez.contactMethod===e.id,onClick:()=>eP("contactMethod",e.id),children:[(0,t.jsx)(a,{})," ",e.id]},e.id)})})]}),(0,t.jsxs)(K,{children:[(0,t.jsx)(R,{as:"span",children:"Project Type"}),(0,t.jsx)(et,{children:f.map(e=>(0,t.jsxs)(eo,{type:"button",$active:ez.projectType===e.id,"aria-pressed":ez.projectType===e.id,onClick:()=>eP("projectType",e.id),children:[(0,t.jsx)(en,{children:e.id}),(0,t.jsx)(ei,{children:e.desc})]},e.id))})]}),(0,t.jsxs)(K,{children:[(0,t.jsxs)(er,{children:[(0,t.jsxs)(R,{className:"label-notes",as:"span",style:{marginBottom:0},children:["Estimated Budget ",(0,t.jsx)(M,{children:"(Drag to estimate)"})]}),(0,t.jsxs)(es,{children:[(0,t.jsx)(G,{type:"checkbox",checked:ez.budgetUnsure,onChange:e=>eP("budgetUnsure",e.target.checked)}),(0,t.jsx)(Q,{$small:!0,$checked:ez.budgetUnsure,children:(0,t.jsx)(C,{})}),"I'm not sure"]})]}),(0,t.jsx)(el,{min:0,max:x.length-1,step:1,value:ez.budgetIdx,disabled:ez.budgetUnsure,$pct:eL,"aria-label":"Estimated budget",onChange:e=>eP("budgetIdx",Number(e.target.value))}),(0,t.jsx)(ed,{children:x.map((e,a)=>{let o=a/(x.length-1)*100;return(0,t.jsx)(ec,{type:"button",tabIndex:-1,$left:o,$offset:16*(.5-o/100),$active:a===ez.budgetIdx&&!ez.budgetUnsure,$muted:ez.budgetUnsure,onClick:()=>!ez.budgetUnsure&&eP("budgetIdx",a),children:e},e)})})]}),(0,t.jsxs)(K,{children:[(0,t.jsx)(R,{as:"label",htmlFor:"na-source",children:"How Did You Hear About Us?"}),(0,t.jsxs)(ep,{children:[(0,t.jsxs)(eu,{id:"na-source",$placeholder:!ez.source,value:ez.source,onCh
569ange:e=>eP("source",e.target.value),children:[(0,t.jsx)("option",{value:"",disabled:!0,children:"Select an option"}),g.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]}),(0,t.jsx)($,{})]})]}),(0,t.jsxs)(K,{children:[(0,t.jsxs)(R,{className:"label-notes",as:"label",htmlFor:"na-notes",children:["Notes ",(0,t.jsx)(M,{children:"(Optional)"})]}),(0,t.jsx)(B,{id:"na-notes",placeholder:"Anything your advisor should know before the call...",maxLength:500,value:ez.notes,onChange:e=>eP("notes",e.target.value.slice(0,500))})]}),(0,t.jsx)(eh,{"data-nap-lead-cta":"form_submit",type:"button",onClick:eE,disabled:V,children:V?"Sending...":"Finish"}),ev&&(0,t.jsx)(em,{children:ev})]},"s2"),3===c&&(0,t.jsxs)(P,{children:[(0,t.jsxs)(A,{children:[(0,t.jsx)(C,{})," You're All Set."]}),(0,t.jsx)(E,{className:"consultation-summary",children:"Consultation Summary"}),(0,t.jsx)(eb,{children:"Here's what we've shared with your advisor:"}),(0,t.jsx)(ew,{children:[["Full Name",ez.name],["Email",ez.email],["Phone",ez.phone],[d?"Postal Code":"Zip Code",ez.zip.toUpperCase()],["Consultation",ez.consultType],["Contact Method",ez.contactMethod],["Project Type",ez.projectType],["Est. Budget",eR],["Heard Via",ez.source],["Notes",ez.notes.trim()]].map(([e,a])=>(0,t.jsxs)(ey,{children:[(0,t.jsx)(eC,{children:e}),(0,t.jsx)(ej,{$empty:!a,children:a||"—"})]},e))}),(0,t.jsxs)(e$,{children:[(0,t.jsx)(N,{}),(0,t.jsxs)("span",{children:["Expect a call from"," ",(0,t.jsx)("a",{href:"tel:+18773068930",children:"(877) 306-8930"})," within the next 1-2 business hours."]})]})]},"s3")]})})]})}e.s(["default",()=>eN])}]);

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.