/* growform client2 bundle.url: https://assets.growform.co/df322d5-mhjegkpe/form.bundle.js resolve.source: kv resolve.at: 2025-11-08T07:27:31.125Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "659eb8ffaef340000b6bcf52"; var FORM_BUNDLE_URL = "https://assets.growform.co/df322d5-mhjegkpe/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"659eb8ffaef340000b6bcf52","steps":[{"id":"5289d17d1c5fe089c23fc6e5","name":"Improve home...","sortOrder":1,"copyOf":"e579a24de17a18ac3e426770"},{"id":"e579a24de17a18ac3e426770","name":"Problems...","sortOrder":2},{"id":"f44cf2b916a72ed8fe5e326e","name":"Timeline","sortOrder":3},{"id":"03a5a3ffff70c314dea644be","name":"Contact details","sortOrder":4}],"formName":"Hardscapes UK final","fields":{"decorative text_52363373085874":{"type":"Decorative Header","value":"Please wait!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"decorative text_576559560634956":{"type":"Decorative Header","value":"Please enter your contact details","width":12,"step":4,"sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","color":"#000000","fontStyle":"none","textAlign":"Left"},"stepId":"03a5a3ffff70c314dea644be"},"email_907058157108782":{"type":"Email","label":"EMAIL ADDRESS","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":3,"stepId":"03a5a3ffff70c314dea644be"},"phone_589083232390193":{"type":"Phone","label":"PHONE NUMBER","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":4,"helperText":"","stepId":"03a5a3ffff70c314dea644be","defaultCountryFormat":"gb","useDatasoap2":true},"decorative text_194067845817258":{"type":"Decorative Paragraph","value":"We are confirming your quote...","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"text_82023588022046":{"type":"Text","label":"FULL NAME","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":2,"validationRules":{"required":true},"hideLabel":false},"decorative_header_374277545346617":{"type":"Decorative Header","value":"Do you have a timeline in mind for this project?","width":12,"sortOrder":1,"stepId":"f44cf2b916a72ed8fe5e326e","fieldStyle":{"fontSize":{"value":20,"unit":"px"},"textAlign":"Left"}},"buttons_210493253409456":{"type":"Buttons","validationRules":{"required":true},"label":"Conservatory type","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"No"},"imageStyles":{"rt_borderRadius":3},"options":[{"text":"Floods when rains","id":"8d266084b20466a83a0a7306","image":null},{"text":"Sinking ","id":"e0430b6a05792933273adbfc","image":null},{"text":"Cracks","id":"25658ea4ea6166163f3f850a","image":null},{"text":"Patchy","id":"f8e7f33332b439415573ebeb","image":null},{"text":"Other","image":null,"id":"df89da9a38653606eac60cbc"}],"stepId":"e579a24de17a18ac3e426770","sortOrder":2,"hideLabel":true,"customCssClasses":""},"buttons_188151712794209":{"type":"Buttons","validationRules":{"required":true},"label":"Timeline","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"No"},"options":[{"text":"ASAP","id":"8d266084b20466a83a0a7306"},{"text":"Up to 3 Months","id":"e0430b6a05792933273adbfc"},{"text":"Up to 6 Months","id":"25658ea4ea6166163f3f850a"},{"text":"6 Months +","image":null,"id":"aa7bf1f86b7b82e545f66fd4"}],"stepId":"f44cf2b916a72ed8fe5e326e","sortOrder":2,"hideLabel":true},"decorative_header_327261969162560":{"type":"Decorative Header","value":"What problems are you having currently?\n","width":12,"stepId":"e579a24de17a18ac3e426770","sortOrder":1,"fieldStyle":{"textAlign":"Left","fontSize":{"value":20,"unit":"px"}}},"text_495232774951163":{"type":"Text","label":"ENTER YOUR POST CODE","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":5,"validationRules":{"required":true}},"buttons_167493912123223":{"type":"Buttons","validationRules":{"required":true},"label":"Use for garden room...","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"1","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{"rt_borderRadius":3},"options":[{"text":"Driveway","id":"8d266084b20466a83a0a7306","image":null},{"text":"Patio","id":"e0430b6a05792933273adbfc","image":null},{"text":"Pathway","id":"25658ea4ea6166163f3f850a","image":null},{"text":"All of the above","image":null,"id":"1ddceed1cc3ae6a64c29d94d"},{"text":"Other","image":null,"id":"395f1b05d52b7446c403aba3"}],"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":2,"hideLabel":true,"customCssClasses":"","margins":{"marginTop":-15}},"decorative_paragraph_634478319916568":{"type":"Decorative Paragraph","value":"⭐️⭐️⭐️⭐️⭐️ 5-star rated on Facebook","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":3,"margins":{"marginTop":0,"marginBottom":-18},"location":null,"fieldStyle":{"fontFamily":"Open Sans"}},"decorative_paragraph_471642159915901":{"type":"Decorative Paragraph","value":"🔒100% Safety And Security","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":1,"location":"footer","fieldStyle":{"color":"#828282"}},"decorative_paragraph_959797423070116":{"type":"Decorative Paragraph","value":"How would you like to improve your home?","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"textAlign":"Left","fontWeight":"Bold"},"margins":{"marginTop":-10}},"decorative_image_951863096537218":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1704901990/uploads/ekerbuopcriaqibimj9p.jpg","width":12,"imageWidth":150,"imageHeight":27,"imageInitialHeight":357,"imageInitialWidth":1998,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":4}},"options":{"numberOfSteps":4,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"START MY QUOTE 👉","submitText":"Send me my free quote 👉","backText":"Back"},"customStyles":{"width":{"unit":"px","value":580},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1116,"imageInitialWidth":1902,"imageHeight":1116,"imageWidth":1902,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1601640522/uploads/qrwuvldlke6g8njr2x6j.jpg"},"headerMarginTop":30,"parentBackgroundColor":"#9e9e9e","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#b88e48","bodyTextColor":"#000000","parentContainerBackgroundType":"none","innerFormBackgroundType":"color","buttonBorderColor":"#9b9b9b","buttonColorSelected":"#dce3ec","buttonBorderColorSelected":"#2696e6","footerMarginBottom":30,"errorColor":"#f90000","buttonColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","buttonTextColor":"#000000","continueSubmitButtonFontSize":18,"radioButtonAndCheckboxColor":"#000000","inputBackgroundColor":"#ffffff","buttonFontSize":20,"showShadows":"No","rt_buttonFontSize":18,"inputFontSize":18,"defaultFont":"Open Sans","inputLabelFont":"Open Sans","rt_buttonBorderColor":"#ffffff"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://myperfectdriveway.co.uk/hardscapes-page-conf-3767"}],"actionOnSubmit":"redirect","customCss":" .formBackground{\n border-radius: 10px; \n // border: 2px solid #9CB458; \n }\n\n.prog.progressBar {\n position: absolute;\n top: 0;\n left: 5%;\n width: 90%;\n height: 9px;\n background-color: blue;\n z-index: 9999;\n border-radius: 4px;\n overflow: hidden;\n}\n\n.progressBar::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.4) 4px, transparent 4px, transparent 8px);\n}\n\n.address_518447847535994 {\n padding: 30px; \n font-size: 50px; \n}\n\n\n","sendCustomRedirectQueryParams":false},"ownedByUser":"6492e74bac713f000bdf5a91","personalisation":{"form_related_to":"Roofers / roofing"},"created":"2024-01-10T15:34:23.482Z","__v":0,"lastEdited":"2024-02-16T15:47:35.377Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742564360/growform-production/form-screenshots/659eb8ffaef340000b6bcf52.png","leadsCount":39,"isActive":true},"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' + '