/* growform client2 bundle.url: https://assets.growform.co/67d4bf11-mtx0ykw7/form.bundle.js resolve.source: kv resolve.at: 2026-09-12T23:34:46.482Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "6613f74302b318000b560a79"; var FORM_BUNDLE_URL = "https://assets.growform.co/67d4bf11-mtx0ykw7/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"6613f74302b318000b560a79","steps":[{"id":"ac0ce1d8634334328d03ff33","name":"Product","sortOrder":1,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"c437300d871ed355835d4186","name":"Property","sortOrder":2,"copyOf":"ac0ce1d8634334328d03ff33"},{"id":"8d2309d21d8fe8e0bc1f81da","name":"Address","sortOrder":3},{"id":"259083b8b9c9ce5ca2b6f2df","name":"Loader - Address","sortOrder":4},{"id":"d2345ce37c7fbf208801f1c2","name":"Loader - Sun","sortOrder":5,"copyOf":"259083b8b9c9ce5ca2b6f2df"},{"id":"04791094a1569ca51105189a","name":"Loader - Finding Installers","sortOrder":6,"copyOf":"d2345ce37c7fbf208801f1c2"},{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":7}],"formName":"Switchable - Solar Form","fields":{"Decorative Header_576559560634956":{"type":"Decorative Header","value":"Success! We have matched you with a local installer.","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":30,"unit":"px"},"fontWeight":"Bold"},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":5}},"email_907058157108782":{"type":"Email","label":"Email Address","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":5,"stepId":"ff4727c9498ef9c0a6c989d9","customQueryParamName":"email"},"phone_589083232390193":{"type":"Phone","label":"Phone number","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":4,"helperText":"","stepId":"ff4727c9498ef9c0a6c989d9","showCountryCode":false,"defaultCountryFormat":"gb","useDatasoap2":true,"customQueryParamName":"phone","hideLabel":false},"text_373461752242760":{"type":"Text","label":"Full Name","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":3,"validationRules":{"required":true},"stepId":"ff4727c9498ef9c0a6c989d9","customQueryParamName":"fullname","hideLabel":false,"multiline":false},"decorative_header_46751409231390":{"type":"Decorative Header","value":"What type of solar product / install are you interested in?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":21,"unit":"px"},"fontWeight":"Bold"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5}},"buttons_782408809089103":{"type":"Buttons","validationRules":{"required":true},"label":"Product","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Solar & Battery","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1706625237/uploads/ozq9agamekfke02cnlns.png","id":"92cf9db7a14ea74299c15df9"},{"text":"Solar Panels","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1706625240/uploads/f0kdlt3zdukeg3ucnjoy.png","id":"6b04250eb668f9d4d089985b"},{"text":"Solar Battery","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1706625242/uploads/byiisgatasftys3ax4t0.png","id":"80ccc04ec41a874eb49279d8"}],"step":1,"sortOrder":2,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"50%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Square","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2","spacing":20,"rt_buttonsPerRow":"3"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginLeft":null,"marginBottom":0},"customQueryParamName":"product"},"decorative_header_59270480717140":{"type":"Decorative Header","value":"What is your property's address?","width":12,"sortOrder":1,"stepId":"8d2309d21d8fe8e0bc1f81da","fieldStyle":{"fontSize":{"value":21,"unit":"px"}},"margins":{"marginBottom":5}},"address_947523623991266":{"type":"Address","label":"Property Address","width":12,"stepId":"8d2309d21d8fe8e0bc1f81da","sortOrder":3,"helperText":"","validationRules":{"required":true},"customQueryParamName":"street"},"decorative_header_244798128403046":{"type":"Decorative Header","value":"Which description best describes your property?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":21,"unit":"px"},"fontWeight":"Bold"},"stepId":"c437300d871ed355835d4186","margins":{"marginBottom":5}},"buttons_880594982151663":{"type":"Buttons","validationRules":{"required":true},"label":"Property","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"House","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1706625259/uploads/jg0pkxdbn6qnnjnj4xqp.png","id":"92cf9db7a14ea74299c15df9"},{"text":"Bungalow","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1713533818/uploads/xhmoylzjv9s2ck6sefrq.png","id":"6b04250eb668f9d4d089985b"},{"text":"Commercial","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1706625268/uploads/ysb84rl9qwilgebral3m.png","id":"80ccc04ec41a874eb49279d8"}],"step":1,"sortOrder":2,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"50%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Square","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2"},"stepId":"c437300d871ed355835d4186","customQueryParamName":"property"},"hidden_203034771140259":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":4,"customQueryParamName":"utm_source"},"hidden_427737483324936":{"type":"Hidden","hiddenFieldName":"utm_medium","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":5,"customQueryParamName":"utm_medium"},"hidden_579795574300938":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":6,"customQueryParamName":"utm_campaign"},"hidden_783053063820926":{"type":"Hidden","hiddenFieldName":"utm_id","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":7,"customQueryParamName":"utm_id"},"decorative_header_688306647862529":{"type":"Decorative Header","value":"Loading solar quotes...","width":12,"stepId":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":30,"unit":"px"}}},"hidden_699453711936376":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":8,"customQueryParamName":"utm_content"},"zipcode_392875257738758":{"type":"Zipcode","label":"Property Postcode","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"8d2309d21d8fe8e0bc1f81da","sortOrder":2,"customQueryParamName":"postcode"},"decorative_paragraph_3999159409942":{"type":"Decorative Paragraph","value":"Your answer helps us match you with the most relevant installer.","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":3},"decorative_paragraph_731691922684179":{"type":"Decorative Paragraph","value":"Understanding your property's size enables us to provide more accurate savings estimates.","width":12,"stepId":"c437300d871ed355835d4186","sortOrder":3,"location":null},"decorative_paragraph_547670866993871":{"type":"Decorative Paragraph","value":"Your address helps us determine the precise amount of sunlight, wind, and temperature patterns you experience.","width":12,"stepId":"8d2309d21d8fe8e0bc1f81da","sortOrder":4,"location":null},"decorative_loading animation_403184454303373":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#838383","type":"Circle","size":65,"redirectAfter":"3s"},"width":12,"stepId":"259083b8b9c9ce5ca2b6f2df","sortOrder":3},"decorative_header_263244624912144":{"type":"Decorative Header","value":"Please wait...","width":12,"stepId":"259083b8b9c9ce5ca2b6f2df","sortOrder":1,"fieldStyle":{"fontSize":{"value":16,"unit":"px"}}},"decorative_header_267353699412569":{"type":"Decorative Header","value":"Checking your address","width":12,"stepId":"259083b8b9c9ce5ca2b6f2df","sortOrder":2,"fieldStyle":{"fontSize":{"value":30,"unit":"px"}}},"decorative_loading animation_79572806728429":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#838383","type":"Dots","size":50,"redirectAfter":"3s"},"width":12,"stepId":"d2345ce37c7fbf208801f1c2","sortOrder":3},"decorative_header_123261132051143":{"type":"Decorative Header","value":"Please wait...","width":12,"stepId":"d2345ce37c7fbf208801f1c2","sortOrder":1,"fieldStyle":{"fontSize":{"value":16,"unit":"px"}}},"decorative_header_749754393838181":{"type":"Decorative Header","value":"Calculating sun exposure","width":12,"stepId":"d2345ce37c7fbf208801f1c2","sortOrder":2,"fieldStyle":{"fontSize":{"value":30,"unit":"px"}}},"decorative_loading animation_44192990868370":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#838383","type":"Beat","size":25,"redirectAfter":"3s"},"width":12,"stepId":"04791094a1569ca51105189a","sortOrder":3},"decorative_header_67345935623609":{"type":"Decorative Header","value":"Please wait...","width":12,"stepId":"04791094a1569ca51105189a","sortOrder":1,"fieldStyle":{"fontSize":{"value":16,"unit":"px"}}},"decorative_header_926278110341998":{"type":"Decorative Header","value":"Matching you with installers","width":12,"stepId":"04791094a1569ca51105189a","sortOrder":2,"fieldStyle":{"fontSize":{"value":30,"unit":"px"}}},"decorative_paragraph_812051772729979":{"type":"Decorative Paragraph","value":"Please confirm your contact details **(all fields required)** so that we can send over your quotes. ","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":2,"fieldStyle":{"fontSize":{"value":16,"unit":"px"}}},"decorative_paragraph_814442887002828":{"type":"Decorative Paragraph","value":"

By clicking “Submit,” you agree to the Lead Pronto Ltd Privacy Policy and understand that we or our third party suppliers may contact you about your quote request and other related home-improvement products (such as Solar, Heat Pumps, and Insulation) by phone, SMS (including whatsapp), or email. You can opt out at any time.

","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":1,"fieldStyle":{"fontSize":{"value":12,"unit":"px"},"fontWeight":null},"location":"footer","v":2}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"Next","submitText":"See my quotes","backText":"Back"},"customStyles":{"width":{"unit":"px","value":620},"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":"#ebeced","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#0d3a3f","bodyTextColor":"#000000","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":20,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#000000","inputTextColor":"#000000","defaultFont":"Manrope","sq_buttonFont":"Manrope","sq_buttonFontSize":16,"showShadows":"Yes","sq_buttonTextColor":"#ffffff","sq_buttonColor":"#ffffff","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#ff6738","rt_buttonFont":"Manrope","rt_buttonFontSize":16,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Manrope","inputFontSize":18,"continueSubmitButtonFontSize":20,"formMarginSide":10},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","analyticsSettings":{"google_analytics":{"trackingId":"G-PE71SEV97R"}},"sendCustomRedirectQueryParams":true,"customCss":"/* --- Gradient Buttons --- */\n.continueButton,\n.submitButton {\n /* Shape and Size */\n border-radius: 50px;\n padding: 20px 20px;\n\n /* Look and Feel */\n font-weight: bold;\n box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);\n\n \n /* Other Styles */\n border: none;\n cursor: pointer;\n text-align: center;\n transition: all 0.3s ease;\n}\n\n.continueButton:hover,\n.submitButton:hover {\n box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);\n transform: translateY(-2px);\n}\n\n\n/* --- Standard White Button --- */\n.btn {\n /* Shape and Size */\n border-radius: 20px;\n padding: 20px 20px;\n\n /* Look and Feel */\n font-weight: bold;\n box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);\n \n /* White Button Style */\n background-color: white;\n color: #333; /* Dark text for contrast */\n border: 1px solid #ccc; /* Border to see it on a white background */\n\n /* Interaction */\n cursor: pointer;\n transition: background-color 0.3s ease;\n}\n\n.btn:hover {\n background-color: #f0f0f0; /* Becomes slightly grey on hover */\n}","endings":[{"id":"ending_ae2f9661-91c4-4c75-b38e-6b985c00d5e2","name":"","url":"https://switchable.co.uk/solar-results/","type":"redirect","sortOrder":1,"conditionalLogic":null},{"id":"complete","name":"Thank you (default)","type":"inFormEnding","sortOrder":2,"conditionalLogic":null}]},"ownedByUser":"65ae9b0b1d5e0e000b6b1f97","personalisation":{"form_related_to":"Solar"},"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 getCookie(name) { try { var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); return match ? decodeURIComponent(match[2]) : ''; } catch (_) { return ''; } } function buildIframeHTML(opts) { var html = '\n' + '\n' + '\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + '
\n' + '