/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: memory resolve.at: 2025-12-11T02:39:16.989Z form.source: api cache.age_ms: 265 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "67ca0791a5c459000cf6787d"; var FORM_BUNDLE_URL = "https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"67ca0791a5c459000cf6787d","steps":[{"id":"acd45227cac332d443c4e1db","name":"Area Confirmation ","sortOrder":1},{"id":"ff4727c9498ef9c0a6c989d9","name":"Offer","sortOrder":2},{"id":"563c1af4242ab0fb55a040f3","name":"Windows","sortOrder":3,"conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_702130726641628","operator":"selected_option","criteria":"11dc5ae9149ab96ffcee23b7"}]}]}},{"id":"64e32d05bdf4b794b58d5560","name":"Doors","sortOrder":4,"conditionalLogic":{"action":"hide","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_702130726641628","operator":"selected_option","criteria":"1aa05027098aeeeeb0c7e940"}]}]}},{"id":"f7ac4f4ba686deb85e226bf1","name":"Contact Info","sortOrder":5}],"formName":"Phair Windows","fields":{"Decorative Header_797442086161467":{"type":"Decorative Header","value":"See if we service your area and then click \"Continue\" 👇","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":30,"unit":"px"},"fontWeight":"Bold","fontFamily":"Open Sans"},"stepId":"acd45227cac332d443c4e1db","margins":{"marginBottom":0,"marginTop":-50}},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"Great! We cover your area! ✅\n","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":25,"unit":"px"},"fontWeight":"Bold","fontFamily":"Open Sans"},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":0,"marginTop":-65}},"zipcode_821924457547508":{"type":"Zipcode","label":"What is your post code?","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":2,"hideLabel":false,"margins":{"marginLeft":0,"marginTop":0}},"decorative_header_580494554041993":{"type":"Decorative Header","value":"Finished! Where should we send your free quote to?","width":12,"stepId":"f7ac4f4ba686deb85e226bf1","sortOrder":1,"fieldStyle":{"fontSize":{"value":25,"unit":"px"},"fontFamily":"Poppins"},"margins":{"marginTop":-60}},"phone_308984983503590":{"type":"Phone","label":"Number","width":12,"stepId":"f7ac4f4ba686deb85e226bf1","sortOrder":4,"defaultCountryFormat":"gb","hideLabel":true,"showCountryCode":true,"useTwilioLookup":true},"email_597010299822513":{"type":"Email","label":"EMAIL","width":12,"stepId":"f7ac4f4ba686deb85e226bf1","sortOrder":3,"hideLabel":false,"useZerobounce":true},"text_830844290732065":{"type":"Text","label":"FULL NAME","width":12,"stepId":"f7ac4f4ba686deb85e226bf1","sortOrder":2,"hideLabel":false,"multiline":false,"validationRules":{"required":true}},"buttons_702130726641628":{"type":"Buttons","validationRules":{"required":true},"label":"OFFER","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"1","rt_buttonsPerRowMobile":"1","buttonsType":"Rectangle","spacing":25,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"3 Windows from £1,500","id":"952d2614928a4cc1d745d4b8"},{"text":"5 Windows and 1 Door from £5,000","id":"1aa05027098aeeeeb0c7e940"},{"text":"10% Off","id":"11dc5ae9149ab96ffcee23b7"}],"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":3,"hideLabel":true},"decorative_header_481710403420051":{"type":"Decorative Header","value":"How many doors are you interested in?","width":12,"sortOrder":1,"stepId":"64e32d05bdf4b794b58d5560","fieldStyle":{"fontSize":{"value":24,"unit":"px"},"fontFamily":"Poppins","textAlign":"center"},"margins":{"marginLeft":0,"marginRight":0,"marginTop":-70}},"buttons_432843944629806":{"type":"Buttons","validationRules":{"required":true},"label":"DOORS","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":25,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"0","id":"952d2614928a4cc1d745d4b8"},{"text":"1","id":"1aa05027098aeeeeb0c7e940"},{"text":"2-3","id":"11dc5ae9149ab96ffcee23b7"},{"text":"4+","id":"011b37e5f6a278d78aa2499b"}],"stepId":"64e32d05bdf4b794b58d5560","sortOrder":2,"margins":{"marginTop":-10},"hideLabel":true},"decorative_header_841184991829592":{"type":"Decorative Header","value":"Rated ⭐️⭐️⭐️⭐️⭐️ from 100+ reviews on","width":12,"stepId":"f7ac4f4ba686deb85e226bf1","sortOrder":1,"location":"footer","margins":{"marginBottom":0,"marginTop":25}},"decorative_image_19357963934659":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1741294034/uploads/tvhdmrcydnvqbukbrgec.png","width":3,"imageWidth":100,"imageHeight":56,"imageInitialHeight":2160,"imageInitialWidth":3840,"stepId":"f7ac4f4ba686deb85e226bf1","sortOrder":2,"location":"footer","margins":{"marginTop":-20}},"decorative_header_502490845438865":{"type":"Decorative Header","value":"Rated ⭐️⭐️⭐️⭐️⭐️ from 100+ reviews on","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":1,"location":"footer","margins":{"marginTop":20}},"decorative_header_499895318932924":{"type":"Decorative Header","value":"Rated ⭐️⭐️⭐️⭐️⭐️ from 100+ reviews on\n\n","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":1,"location":"footer","margins":{"marginTop":20}},"decorative_image_836822126403695":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1741293564/uploads/wfcuxcuniktngtgox5sv.png","width":3,"imageWidth":100,"imageHeight":56,"imageInitialHeight":2160,"imageInitialWidth":3840,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":2,"location":"footer","margins":{"marginTop":-20}},"decorative_header_311717149716886":{"type":"Decorative Header","value":"Rated ⭐️⭐️⭐️⭐️⭐️ from 100+ reviews on\n\n","width":12,"stepId":"64e32d05bdf4b794b58d5560","sortOrder":1,"location":"footer","margins":{"marginTop":20}},"decorative_image_777087349903573":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1741293623/uploads/bepeklod7fpe1tevui4e.png","width":3,"imageWidth":100,"imageHeight":56,"imageInitialHeight":2160,"imageInitialWidth":3840,"stepId":"64e32d05bdf4b794b58d5560","sortOrder":2,"location":"footer","margins":{"marginTop":-20}},"decorative_image_503931041360951":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1741293509/uploads/kf2qlwdnowzxdzc03zlb.png","width":3,"imageWidth":100,"imageHeight":56,"imageInitialHeight":2160,"imageInitialWidth":3840,"stepId":"acd45227cac332d443c4e1db","sortOrder":2,"location":"footer","margins":{"marginTop":-10,"marginBottom":0}},"decorative_header_344839956323279":{"type":"Decorative Header","value":"Which of our offers are you interested in?","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":2},"decorative_header_223841445270761":{"type":"Decorative Header","value":"How many windows do you need?","width":12,"stepId":"563c1af4242ab0fb55a040f3","sortOrder":1,"margins":{"marginTop":-40},"fieldStyle":{"fontSize":{"value":24,"unit":"px"},"fontFamily":"Poppins"}},"buttons_650533716550360":{"type":"Buttons","validationRules":{"required":true},"label":"How many windows do you need? ","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"3","rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{},"options":[{"text":"1-2","id":"bb8aa77544fe7622e7210ca3"},{"text":"4","id":"4e3d1cd75b3dc5da1bacf77a"},{"text":"6+","id":"04b6315e36c052b844fe173e"}],"stepId":"563c1af4242ab0fb55a040f3","sortOrder":2,"hideLabel":true},"decorative_header_402916823462161":{"type":"Decorative Header","value":"Rated ⭐️⭐️⭐️⭐️⭐️ from 100+ reviews on\n\n","width":12,"stepId":"563c1af4242ab0fb55a040f3","sortOrder":1,"location":"footer","margins":{"marginTop":20}},"decorative_image_217518087334564":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1741293564/uploads/wfcuxcuniktngtgox5sv.png","width":3,"imageWidth":100,"imageHeight":56,"imageInitialHeight":2160,"imageInitialWidth":3840,"stepId":"563c1af4242ab0fb55a040f3","sortOrder":2,"location":"footer","margins":{"marginTop":-20}}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"variant":"line","position":"formBottom","line_height":10,"line_showPercent":"No","line_enableStripes":"Yes","margins":{"marginTop":0}},"continueButton":{"continueText":"Continue 👉","submitText":"SEND ME MY FREE QUOTE! 👉","backText":"Back"},"customStyles":{"width":{"unit":"px","value":600},"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":100,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#266dbf","bodyTextColor":"#000000","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":35,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a08f8f","inputTextColor":"#000000","defaultFont":"Open Sans","sq_buttonFont":"Poppins","sq_buttonFontSize":15,"showShadows":"No","sq_buttonTextColor":"#343434","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"#6abd43","sq_buttonBannerColor":"#ffffff","rt_buttonFont":"Open Sans","rt_buttonFontSize":18,"rt_buttonColor":"#f5f2f2","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#000000","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Open Sans","inputFontSize":16,"continueSubmitButtonFontSize":15,"fullModeBackgroundColor":"#E7F3FA","canvasSetup":"minimal","continueSubmitButtonFont":"Open Sans","formMarginSide":10,"rt_controlsColor":"primary"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://ourhomeupgrades.co.uk/pw-confirmation"}],"logo":null,"footer":null,"additionalInfo":null,"customCss":".growform-container {\n border-radius: 20px !important; /* Adjust px value as needed */\n overflow: hidden; /* Ensures the corners are properly rounded */\n}\n","actionOnSubmit":"redirect","analyticsSettings":{"facebook":{"pixelId":"1057696389540712"}}},"ownedByUser":"67a4dfde8a87ca000bbd5376","personalisation":{"form_related_to":"(None - start with a blank slate)"},"created":"2025-03-06T20:37:37.566Z","__v":0,"lastEdited":"2025-03-28T09:11:06.165Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742555574/growform-production/form-screenshots/67ca0791a5c459000cf6787d.png","leadsCount":13,"isActive":true},"accountIsActive":false,"accountIsFreeTrial":true}}; // ---- 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' + '