/* growform client2 bundle.url: https://assets.growform.co/75ce62c9-mnos4903/form.bundle.js resolve.source: memory resolve.at: 2026-04-17T08:55:36.798Z form.source: api cache.age_ms: 2207 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "698f5512f3c367b50fb9c753"; var FORM_BUNDLE_URL = "https://assets.growform.co/75ce62c9-mnos4903/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"698f5512f3c367b50fb9c753","options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true},"continueButton":{"continueText":"Continue","submitText":"Submit","backText":"Back"},"customStyles":{"width":{"unit":"px","value":580},"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":40,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#0a83ca","bodyTextColor":"#343434","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":70,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","defaultFont":"Open Sans","sq_buttonFont":"Poppins","sq_buttonFontSize":15,"showShadows":"Yes","sq_buttonTextColor":"#343434","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#ffffff","rt_buttonFont":"Poppins","rt_buttonFontSize":15,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":15,"fullModeBackgroundColor":"#E7F3FA","canvasSetup":"full"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":""}],"logo":null},"fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"
Thanks for your enquiry!
","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":null},"margins":{"marginTop":20},"stepId":"complete","v":2},"Decorative Header_797442086161467":{"type":"Decorative Header","value":"What kind of quote are you looking for?
","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"fontWeight":null},"stepId":"acd45227cac332d443c4e1db","margins":{"marginBottom":0},"v":2},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"How shall we contact you?
","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"fontWeight":null},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":0},"v":2},"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 name","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":2,"validationRules":{"required":true},"stepId":"ff4727c9498ef9c0a6c989d9"},"Decorative_Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"Thanks for getting in touch. We'll be in contact soon.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete","v":2},"address_914347080295601":{"type":"Address Lookup","label":"What is your address?","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":2,"allowManualEntry":true,"enableRoofPicker":true},"zipcode_176090453142816":{"type":"Zipcode","label":"What is your postal code?","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":3},"decorative_text_622505525339836":{"type":"Decorative Text","value":"That zip is near to brighton
","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"width":12,"v":2,"stepId":"acd45227cac332d443c4e1db","sortOrder":4,"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"zipcode_176090453142816","operator":"is_within_distance","criteria":{"distance":5,"address":"Brighton, Brighton and Hove, BN1","lat":50.829464800000004,"lng":-0.1409606}}]}]}}},"ownedByUser":"5f992c766ad3870017072e19","formName":"Old address form (to be migrated)","personalisation":{"form_related_to":"(None - start with a blank slate)"},"lastEdited":"2026-02-13T17:46:07.610Z","created":"2026-02-13T16:45:06.893Z","steps":[{"id":"acd45227cac332d443c4e1db","name":"Unnamed step 1","sortOrder":1},{"id":"ff4727c9498ef9c0a6c989d9","name":"Unnamed step 2","sortOrder":2}],"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1771004773/growform-production/form-screenshots/698f5512f3c367b50fb9c753.png","leadsCount":7,"isActive":true,"reportedSpam":null,"spamOcr":"What kind of quote are you looking for?\nWhat is your address?\nWhat is your postal code?\nCONTINUE What kind of quote are you looking for ? What is your address ? What is your postal code ? CONTINUE","__v":0},"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' + '