/* growform client2 bundle.url: https://assets.growform.co/96896150-mmawu6km/form.bundle.js resolve.source: kv resolve.at: 2026-03-05T15:09:26.329Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "686e7b926baaa4000b690d30"; var FORM_BUNDLE_URL = "https://assets.growform.co/96896150-mmawu6km/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"686e7b926baaa4000b690d30","steps":[{"id":"ac0ce1d8634334328d03ff33","name":"Type of job","sortOrder":1,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"12d5ab9cdd849e9f9c2f69bc","name":"Address info","sortOrder":2,"copyOf":"ff4727c9498ef9c0a6c989d9","conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_782408809089103","operator":"selected_option","criteria":"ee11414c2fbebcbe9b466146"},{"observedField":"buttons_782408809089103","operator":"selected_option","criteria":"204a35fbe8c5a7078bf21b9d"}]}]}},{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":3}],"isActive":true,"formName":"Ace Asphalt - Commercial LP","fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"Book a time & date for your FREE estimate","width":12,"step":"complete","sortOrder":2,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"How shall we get in touch about your project?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"ff4727c9498ef9c0a6c989d9"},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":3,"stepId":"ff4727c9498ef9c0a6c989d9"},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":4,"helperText":"","stepId":"ff4727c9498ef9c0a6c989d9"},"text_373461752242760":{"type":"Text","label":"Your full name","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":2,"validationRules":{"required":true},"stepId":"ff4727c9498ef9c0a6c989d9"},"decorative_header_46751409231390":{"type":"Decorative Header","value":"What type of work do you need done?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":-5,"marginTop":24}},"buttons_782408809089103":{"type":"Buttons","validationRules":{"required":false},"label":"Type of Work","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"New Asphalt Installation","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750681619/uploads/g8g0od1ioutandoxwrwq.png","id":"ee11414c2fbebcbe9b466146"},{"text":"Resurfacing","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750681621/uploads/ak8hc4hplwzpbiwwqsjl.png","id":"204a35fbe8c5a7078bf21b9d"},{"text":"Repairs (potholes, cracks)","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750681624/uploads/x7pupin4hv2kbucyl229.png","id":"6b5c6668dcf9f6fd61132974"},{"text":"Sealcoating","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750681626/uploads/aes4dyzlgu8xwwhvug6d.png","id":"01bd1de7cb0b2fae82241fd1"},{"text":"Line Striping","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750681629/uploads/cqsrett5f21vixni4akj.png","id":"e2f1ff7147c547faf8411580"}],"step":1,"sortOrder":2,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Square","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2"},"stepId":"ac0ce1d8634334328d03ff33"},"decorative_header_151104740029695":{"type":"Decorative Header","value":"What's the address of the property?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"12d5ab9cdd849e9f9c2f69bc"},"address_701450755932594":{"type":"Address","label":"Property address","width":12,"stepId":"12d5ab9cdd849e9f9c2f69bc","sortOrder":2},"decorative_link_115062935456236":{"type":"Decorative Link","text":"BOOK NOW","url":"https://api.leadconnectorhq.com/widget/bookings/hotmixpaving","openInNewTab":true,"width":12,"stepId":"complete","sortOrder":3},"decorative_header_548032486137095":{"type":"Decorative Header","value":"JUST ONE MORE STEP!","width":12,"stepId":"complete","sortOrder":1}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"margins":{"marginTop":-33}},"continueButton":{"continueText":"Next","submitText":"Get estimate","backText":"Back"},"customStyles":{"width":{"unit":"px","value":500},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1362,"imageInitialWidth":2066,"imageHeight":1362,"imageWidth":2066,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1597337140/uploads/qmsfk98ank3wfp1ehvyg.jpg"},"headerMarginTop":10,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#f1ff00","bodyTextColor":"#ffffff","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":null,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#000000","inputTextColor":"#000000","defaultFont":"Comfortaa","sq_buttonFont":"Poppins","sq_buttonFontSize":15,"showShadows":"Yes","sq_buttonTextColor":"#343434","sq_buttonColor":"#f1ff00","sq_buttonColorSelected":"#f1ff00","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"#f1ff00","sq_buttonBannerColor":"#FFFFFF","rt_buttonFont":"Poppins","rt_buttonFontSize":15,"rt_buttonColor":"#f1ff00","rt_buttonColorSelected":"#f1ff00","rt_buttonTextColor":"#ffffff","rt_buttonBorderColor":"#ffffff","rt_buttonBorderColorSelected":"#2f77e3","inputLabelFont":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":15,"fullModeBackgroundColor":"#ffffff","canvasSetup":"minimal","link_buttonBorderColor":"#DADADA","link_buttonColor":"#FFFFFF","inputBackgroundColor":"#ffffff","link_buttonTextColor":"#000000","progressColor":"#f1ff00","sq_controlsColor":"#f1ff00","rt_controlsColor":"#f1ff00"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://aceasphalt.ez-mk.com/thank-you"}],"logo":null,"additionalInfo":null,"analyticsSettings":{"facebook":{"pixelId":"2329921064023190"}},"footer":null,"actionOnSubmit":"redirect"},"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1752072927/growform-production/form-screenshots/686e7b926baaa4000b690d30.png","ownedByUser":"67e83f180543b0000babf1d4","personalisation":{"form_related_to":"Builders / Construction"},"created":"2025-07-09T14:24:18.755Z","__v":0,"lastEdited":"2025-07-09T14:55:22.956Z","leadsCount":1},"accountIsActive":true,"accountIsFreeTrial":false}}; // ---- Utils ---- function safeJSONStringify(obj) { return JSON.stringify(obj) .replace(/<\/(script|style)/gi, '<\\/$1') .replace(//g, '--\\>') .replace(/\u2028/g, '\\u2028') .replace(/\u2029/g, '\\u2029'); } function preloadScript(href) { try { if (!href) return; if (document.querySelector('link[rel="preload"][href="' + href + '"]')) return; var l = document.createElement("link"); l.rel = "preload"; l.as = "script"; l.href = href; l.crossOrigin = ""; // allow cache reuse in iframe document.head.appendChild(l); } catch (_) {} } function parseQuery() { var out = {}; try { if (!window.location.search) return out; var usp = new URLSearchParams(window.location.search); usp.forEach(function (v, k) { out[k] = v; }); } catch (_) {} return out; } function buildIframeHTML(opts) { var html = '\n' + '\n' + '
\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + ' \n' + '