/* growform client2 bundle.url: https://assets.growform.co/936968c6-mwnhgh15/form.bundle.js resolve.source: kv resolve.at: 2026-11-23T09:18:04.231Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "685c0c74950e6b000bb593e0"; var FORM_BUNDLE_URL = "https://assets.growform.co/936968c6-mwnhgh15/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"685c0c74950e6b000bb593e0","steps":[{"id":"ac0ce1d8634334328d03ff33","name":"Homeowner","sortOrder":1,"copyOf":"8d53a2591d86a402dbecf0d3"},{"id":"c0bdf1cff16ef529e279c63a","name":"Energy Bill","sortOrder":2,"copyOf":"c437300d871ed355835d4186"},{"id":"c437300d871ed355835d4186","name":"Energy Provider","sortOrder":3,"copyOf":"ac0ce1d8634334328d03ff33"},{"id":"8d2309d21d8fe8e0bc1f81da","name":"Address","sortOrder":4},{"id":"ff4727c9498ef9c0a6c989d9","name":"Contact info","sortOrder":5}],"isActive":true,"formName":"Switchable - Energy Switching","fields":{"Decorative Header_576559560634956":{"type":"Decorative Header","value":"We just need your details to send you your deals","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":22,"unit":"px"},"fontWeight":"Bold"},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":5}},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":4,"stepId":"ff4727c9498ef9c0a6c989d9","customQueryParamName":"email"},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":3,"helperText":"","stepId":"ff4727c9498ef9c0a6c989d9","showCountryCode":false,"defaultCountryFormat":"gb","useDatasoap2":true,"customQueryParamName":"phone"},"decorative_header_46751409231390":{"type":"Decorative Header","value":"Are you the homeowner?","width":12,"step":1,"sortOrder":4,"fieldStyle":{"fontSize":{"value":22,"unit":"px"},"fontWeight":"Bold"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5}},"buttons_782408809089103":{"type":"Buttons","validationRules":{"required":true},"label":"Homeowner","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Yes, I own my home","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750863304/uploads/jyoo5dp8atmrbia3gjof.png","id":"92cf9db7a14ea74299c15df9"},{"text":"No, I'm a tenant","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750863306/uploads/aehiqfeb4zkyaifk2kk8.png","id":"6b04250eb668f9d4d089985b"},{"text":"Other","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750863834/uploads/ll6dgivb7exsbvgjxanu.png","id":"654427a6c08145315163ab4f"}],"step":1,"sortOrder":5,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"33%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Rectangle","sq_buttonsPerRow":"2","sq_buttonsPerRowMobile":"2","spacing":20,"rt_buttonsPerRow":"1"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginLeft":null,"marginBottom":0},"customQueryParamName":"product"},"decorative_header_59270480717140":{"type":"Decorative Header","value":"What is the property address?","width":12,"sortOrder":1,"stepId":"8d2309d21d8fe8e0bc1f81da","fieldStyle":{"fontSize":{"value":22,"unit":"px"}},"margins":{"marginBottom":5}},"address_947523623991266":{"type":"Address","label":"Address","width":12,"stepId":"8d2309d21d8fe8e0bc1f81da","sortOrder":3,"helperText":"","validationRules":{"required":true},"customQueryParamName":"street"},"decorative_header_244798128403046":{"type":"Decorative Header","value":"Who is your current energy provider?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":22,"unit":"px"},"fontWeight":"Bold"},"stepId":"c437300d871ed355835d4186","margins":{"marginBottom":5}},"hidden_203034771140259":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":6,"customQueryParamName":"utm_source"},"hidden_427737483324936":{"type":"Hidden","hiddenFieldName":"utm_medium","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":7,"customQueryParamName":"utm_medium"},"hidden_579795574300938":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":8,"customQueryParamName":"utm_campaign"},"hidden_783053063820926":{"type":"Hidden","hiddenFieldName":"utm_id","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":9,"customQueryParamName":"utm_id"},"decorative_header_688306647862529":{"type":"Decorative Header","value":"Submitting details...","width":12,"stepId":"complete","sortOrder":1},"hidden_699453711936376":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":10,"customQueryParamName":"utm_content"},"zipcode_392875257738758":{"type":"Zipcode","label":"What is your postcode?","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"8d2309d21d8fe8e0bc1f81da","sortOrder":2,"customQueryParamName":"postcode"},"decorative_paragraph_246498728643511":{"type":"Decorative Paragraph","value":"Your privacy is important to us. By submitting this form, you consent that Lead Pronto Ltd and their partners can contact you by SMS/Email via the details provided. If qualified Lead Pronto Ltd can match you to a local partner, when matched at least one partner can contact you by telephone with details or quotes for such products, in accordance with our privacy policy [privacy policy.](https://solarsavingschecker.co.uk/privacy-policy/).","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":5,"fieldStyle":{"fontSize":{"value":12,"unit":"px"}}},"decorative_header_585304595042445":{"type":"Decorative Header","value":"How much is your monthly energy bill?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":22,"unit":"px"},"fontWeight":"Bold"},"stepId":"c0bdf1cff16ef529e279c63a","margins":{"marginBottom":5}},"buttons_633038014923664":{"type":"Buttons","validationRules":{"required":true},"label":"energy bill","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"£0 - £50","image":null,"id":"92cf9db7a14ea74299c15df9"},{"text":"£50 - 100","image":null,"id":"6b04250eb668f9d4d089985b"},{"text":"£100 - £150","image":null,"id":"80ccc04ec41a874eb49279d8"},{"text":"£150 - £200","image":null,"id":"a2f36b3d88f4198067f9aa70"},{"text":"£200+","image":null,"id":"f2ecded95426b297daf3b260"}],"step":1,"sortOrder":3,"helperText":"","imageStyles":{"width":"37","marginBottom":"17","sq_imageOnlyMode":"No","size":"50%"},"buttonStyle":{"minWidth":"107","height":"102","buttonsPerRow":"4","buttonsType":"Rectangle","sq_buttonsPerRow":"3","sq_buttonsPerRowMobile":"2","rt_buttonsPerRow":"1"},"stepId":"c0bdf1cff16ef529e279c63a","customQueryParamName":"property"},"decorative_header_93125383696345":{"type":"Decorative Header","value":"Please choose the nearest value","width":12,"step":1,"sortOrder":2,"fieldStyle":{"fontSize":{"value":16,"unit":"px"},"fontWeight":"normal"},"stepId":"c0bdf1cff16ef529e279c63a","margins":{"marginBottom":5,"marginLeft":null,"marginTop":-20},"location":null},"text_518072124309974":{"type":"Text","label":"Your current energy provider","width":12,"stepId":"c437300d871ed355835d4186","sortOrder":2,"validationRules":{"required":true}},"name_607246357182741":{"type":"Name","label":"What is your name?","width":12,"hideLabel":true,"options":{"Firstname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Lastname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Prefix":{"value":null,"errorText":null}},"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":2,"hidePrefix":true},"decorative_header_613780413072967":{"type":"Decorative Header","value":"Find Your Best Energy Deal ↓","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":1,"fieldStyle":{"fontSize":{"value":32,"unit":"px"}}},"decorative_header_725719953079171":{"type":"Decorative Header","value":"It takes less than 60 seconds","width":12,"step":1,"sortOrder":2,"fieldStyle":{"fontSize":{"value":16,"unit":"px"},"fontWeight":"normal"},"stepId":"ac0ce1d8634334328d03ff33","margins":{"marginBottom":5,"marginLeft":null,"marginTop":-10},"location":null},"decorative_divider_549837836573855":{"type":"Decorative Divider","width":12,"stepId":"ac0ce1d8634334328d03ff33","sortOrder":3}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"Next","submitText":"find deals","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":20,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#ff8059","bodyTextColor":"#000000","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":30,"errorColor":"#ff8059","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":"#ff6737","rt_buttonFont":"Manrope","rt_buttonFontSize":15,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Manrope","inputFontSize":18,"continueSubmitButtonFontSize":18,"formMarginSide":10,"progressColor":"#ff8059","continueButtonTextColor":"#000000","continueButtonColor":"#ff8059"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","analyticsSettings":{"google_analytics":{"trackingId":"G-RCG7MWBN4J"}},"sendCustomRedirectQueryParams":true,"customCss":".continueButton,\n.submitButton,\n.btn {\n border-radius: 50px;\n box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);\n padding: 20px 20px;\n font-weight: bold; \n}","endings":[{"id":"ending_a9bc90bc-ac19-44a0-9bd9-cff9f21b7d22","name":"","url":"https://switchable.co.uk/energy-switching-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"}},"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' + '