/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: memory resolve.at: 2025-12-10T14:17:06.199Z form.source: api cache.age_ms: 4096 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "643d32fba68293000c1b5034"; 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":"643d32fba68293000c1b5034","steps":[{"id":"b6f3eb0b7c10da55dad1a971","name":"Adults in property","sortOrder":1},{"id":"0bc69d061e6af1ac7ad17513","name":"Home Owner","sortOrder":2},{"id":"1bda8e8df5517ff20e3d5403","name":"Employment status","sortOrder":3},{"id":"0141a198d6700a0a1c00095d","name":"Avg monthly energy bills","sortOrder":4},{"id":"101c89ac9143cf7a05036cb6","name":"Postcode","sortOrder":5},{"id":"77db38012e34773fca3fb9ee","name":"Email","sortOrder":6},{"id":"8c78149a0e475aa167e90c67","name":"Name","sortOrder":7},{"id":"e436cff894a645f2d8d173bc","name":"Contact_details","sortOrder":8},{"id":"685ce4d03a033acf669f2f81","name":"Final","sortOrder":9}],"formName":"Solar - UK","fields":{"Decorative Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"We'll be in touch shortly - usually with 48 hours.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":30},"stepId":"complete"},"phone_91931770046283":{"type":"Phone","label":"Your phone number","width":12,"step":5,"sortOrder":5,"defaultCountryFormat":"gb","stepId":"e436cff894a645f2d8d173bc","useDataSoap":true,"margins":{"marginTop":-20},"hideLabel":true},"decorative paragraph_799257360840766":{"type":"Decorative Paragraph","value":"Thanks for your interest!","width":12,"step":"complete","sortOrder":1,"stepId":"complete"},"buttons_308614118082585":{"type":"Buttons","validationRules":{"required":true},"label":"homeowner","width":12,"hideLabel":true,"multiple":false,"buttonStyle":{"buttonsPerRow":"2","height":130,"buttonsType":"Rectangle","rt_compactLayoutOnMobile":"No"},"options":[{"text":"Yes","id":"4f247f2bd52e5551b6fdcb0a","image":null},{"text":"No","id":"4dd4ba494322a6696dad2f76","image":null}],"step":1,"sortOrder":5,"stepId":"0bc69d061e6af1ac7ad17513","imageStyles":{"width":100}},"hidden_438611123302835":{"type":"Hidden","hiddenFieldName":"affid","width":12,"step":5,"sortOrder":6,"stepId":"e436cff894a645f2d8d173bc"},"hidden_375891337355397":{"type":"Hidden","hiddenFieldName":"sub3","width":12,"step":5,"sortOrder":7,"stepId":"e436cff894a645f2d8d173bc"},"hidden_407052935407106":{"type":"Hidden","hiddenFieldName":"sub1","width":12,"step":5,"sortOrder":8,"stepId":"e436cff894a645f2d8d173bc"},"decorative paragraph_522404287556570":{"type":"Decorative Paragraph","value":"Step 2 of 9","width":12,"step":1,"sortOrder":2,"margins":{"marginBottom":-22},"fieldStyle":{"textAlign":"Left","fontSize":{"value":15,"unit":"px"},"fontWeight":"Bold"},"location":null,"stepId":"0bc69d061e6af1ac7ad17513"},"decorative paragraph_582440587666692":{"type":"Decorative Paragraph","value":"...","width":12,"step":1,"sortOrder":3,"customCssClasses":"progress progress-20","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"location":null,"stepId":"0bc69d061e6af1ac7ad17513"},"decorative_image_941683004690574":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1688466671/uploads/kkxbec1xnmkshpts7rvq.jpg","width":12,"imageWidth":625,"imageHeight":170,"imageInitialHeight":170,"imageInitialWidth":625,"stepId":"0bc69d061e6af1ac7ad17513","sortOrder":1},"decorative_paragraph_403262383732372":{"type":"Decorative Paragraph","value":"...","width":12,"step":1,"sortOrder":3,"customCssClasses":"progress progress-10","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"location":null,"stepId":"b6f3eb0b7c10da55dad1a971"},"decorative_paragraph_301461290400176":{"type":"Decorative Paragraph","value":"Step 1 of 9","width":12,"step":1,"sortOrder":2,"margins":{"marginBottom":-22},"fieldStyle":{"textAlign":"Left","fontSize":{"value":15,"unit":"px"},"fontWeight":"Bold"},"location":null,"stepId":"b6f3eb0b7c10da55dad1a971"},"decorative_image_328398406248327":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1688466671/uploads/kkxbec1xnmkshpts7rvq.jpg","width":12,"imageWidth":625,"imageHeight":170,"imageInitialHeight":170,"imageInitialWidth":625,"stepId":"b6f3eb0b7c10da55dad1a971","sortOrder":1,"location":null},"decorative_paragraph_273244901730560":{"type":"Decorative Paragraph","value":"How many adults in the property?","width":12,"stepId":"b6f3eb0b7c10da55dad1a971","sortOrder":4,"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}}},"buttons_398247415832609":{"type":"Buttons","validationRules":{"required":false},"label":"adults","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"No"},"imageStyles":{},"options":[{"text":"1","id":"efe7f79d29efe1e7f8eece44"},{"text":"2","id":"aa60e7cb7c83ac9cf82159ce"},{"text":"3","id":"e818a2d502f5c0563601f4c5"},{"text":"4","id":"3e9d629812a0572024178f28"}],"stepId":"b6f3eb0b7c10da55dad1a971","sortOrder":5,"hideLabel":true},"decorative_paragraph_417259609359193":{"type":"Decorative Paragraph","value":"Are you a Homeowner?","width":12,"stepId":"0bc69d061e6af1ac7ad17513","sortOrder":4,"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}},"location":null},"decorative_image_74233188351938":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1688466671/uploads/kkxbec1xnmkshpts7rvq.jpg","width":12,"imageWidth":625,"imageHeight":170,"imageInitialHeight":170,"imageInitialWidth":625,"stepId":"1bda8e8df5517ff20e3d5403","sortOrder":1,"location":null},"decorative_paragraph_762733665801046":{"type":"Decorative Paragraph","value":"Step 3 of 9","width":12,"step":1,"sortOrder":2,"margins":{"marginBottom":-22},"fieldStyle":{"textAlign":"Left","fontSize":{"value":15,"unit":"px"},"fontWeight":"Bold"},"location":null,"stepId":"1bda8e8df5517ff20e3d5403"},"decorative_paragraph_640291983461722":{"type":"Decorative Paragraph","value":"...","width":12,"step":1,"sortOrder":3,"customCssClasses":"progress progress-30","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"location":null,"stepId":"1bda8e8df5517ff20e3d5403"},"decorative_paragraph_774560887069926":{"type":"Decorative Paragraph","value":"Employment status","width":12,"stepId":"1bda8e8df5517ff20e3d5403","sortOrder":4,"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}},"location":null},"buttons_876916232580233":{"type":"Buttons","validationRules":{"required":true},"label":"employment","width":12,"hideLabel":true,"multiple":false,"buttonStyle":{"buttonsPerRow":"2","height":130,"buttonsType":"Rectangle","rt_compactLayoutOnMobile":"No"},"options":[{"text":"Employed","id":"4f247f2bd52e5551b6fdcb0a","image":null},{"text":"Self employed","id":"4dd4ba494322a6696dad2f76","image":null},{"text":"Retired","image":null,"id":"efb227a7437e669092fb7fae"},{"text":"Unemployed","image":null,"id":"181bfcbe075702d2887df9a4"}],"step":1,"sortOrder":5,"stepId":"1bda8e8df5517ff20e3d5403","imageStyles":{"width":100},"location":null},"decorative_image_219618216029660":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1688466671/uploads/kkxbec1xnmkshpts7rvq.jpg","width":12,"imageWidth":625,"imageHeight":170,"imageInitialHeight":170,"imageInitialWidth":625,"stepId":"0141a198d6700a0a1c00095d","sortOrder":1,"location":null},"decorative_paragraph_867655637973164":{"type":"Decorative Paragraph","value":"Step 4 of 9","width":12,"step":1,"sortOrder":2,"margins":{"marginBottom":-22},"fieldStyle":{"textAlign":"Left","fontSize":{"value":15,"unit":"px"},"fontWeight":"Bold"},"location":null,"stepId":"0141a198d6700a0a1c00095d"},"decorative_paragraph_178026533440067":{"type":"Decorative Paragraph","value":"...","width":12,"step":1,"sortOrder":3,"customCssClasses":"progress progress-40","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"location":null,"stepId":"0141a198d6700a0a1c00095d"},"decorative_paragraph_514319234154073":{"type":"Decorative Paragraph","value":"Average monthly energy bill","width":12,"stepId":"0141a198d6700a0a1c00095d","sortOrder":4,"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}},"location":null},"buttons_215374065001424":{"type":"Buttons","validationRules":{"required":true},"label":"employment","width":12,"hideLabel":true,"multiple":false,"buttonStyle":{"buttonsPerRow":"2","height":130,"buttonsType":"Rectangle","rt_compactLayoutOnMobile":"No"},"options":[{"text":"Under £150","id":"4f247f2bd52e5551b6fdcb0a","image":null},{"text":"£150 - £250","id":"4dd4ba494322a6696dad2f76","image":null},{"text":"£250 - £350","image":null,"id":"efb227a7437e669092fb7fae"},{"text":"Over £350","image":null,"id":"181bfcbe075702d2887df9a4"}],"step":1,"sortOrder":5,"stepId":"0141a198d6700a0a1c00095d","imageStyles":{"width":100},"location":null},"decorative_image_955288440043344":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1688466671/uploads/kkxbec1xnmkshpts7rvq.jpg","width":12,"imageWidth":625,"imageHeight":170,"imageInitialHeight":170,"imageInitialWidth":625,"stepId":"101c89ac9143cf7a05036cb6","sortOrder":1,"location":null},"decorative_paragraph_265413702438586":{"type":"Decorative Paragraph","value":"Step 5 of 9","width":12,"step":1,"sortOrder":2,"margins":{"marginBottom":-22},"fieldStyle":{"textAlign":"Left","fontSize":{"value":15,"unit":"px"},"fontWeight":"Bold"},"location":null,"stepId":"101c89ac9143cf7a05036cb6"},"decorative_paragraph_14038767210485":{"type":"Decorative Paragraph","value":"...","width":12,"step":1,"sortOrder":3,"customCssClasses":"progress progress-50","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"location":null,"stepId":"101c89ac9143cf7a05036cb6"},"decorative_paragraph_270037296629107":{"type":"Decorative Paragraph","value":"Postal Code","width":12,"stepId":"101c89ac9143cf7a05036cb6","sortOrder":4,"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}},"location":null},"zipcode_669814459265562":{"type":"Zipcode","label":"Enter your postcode","zipcodeFieldFormat":"postcode_uk","width":6,"stepId":"101c89ac9143cf7a05036cb6","sortOrder":5,"margins":{"marginBottom":-10,"marginTop":-19}},"decorative_image_914441229980213":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1688466671/uploads/kkxbec1xnmkshpts7rvq.jpg","width":12,"imageWidth":625,"imageHeight":170,"imageInitialHeight":170,"imageInitialWidth":625,"stepId":"77db38012e34773fca3fb9ee","sortOrder":1,"location":null},"decorative_paragraph_410114665925987":{"type":"Decorative Paragraph","value":"Step 6 of 9","width":12,"step":1,"sortOrder":2,"margins":{"marginBottom":-22},"fieldStyle":{"textAlign":"Left","fontSize":{"value":15,"unit":"px"},"fontWeight":"Bold"},"location":null,"stepId":"77db38012e34773fca3fb9ee"},"decorative_paragraph_973736462971942":{"type":"Decorative Paragraph","value":"...","width":12,"step":1,"sortOrder":3,"customCssClasses":"progress progress-60","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"location":null,"stepId":"77db38012e34773fca3fb9ee"},"decorative_paragraph_513783583082636":{"type":"Decorative Paragraph","value":"Email","width":12,"stepId":"77db38012e34773fca3fb9ee","sortOrder":4,"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}},"location":null},"email_137926263459043":{"type":"Email","label":"Your email address","width":12,"stepId":"77db38012e34773fca3fb9ee","sortOrder":5,"margins":{"marginTop":-20}},"decorative_image_487299502932383":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1688466671/uploads/kkxbec1xnmkshpts7rvq.jpg","width":12,"imageWidth":625,"imageHeight":170,"imageInitialHeight":170,"imageInitialWidth":625,"stepId":"8c78149a0e475aa167e90c67","sortOrder":1,"location":null},"decorative_paragraph_46487649899729":{"type":"Decorative Paragraph","value":"Step 7 of 9","width":12,"step":1,"sortOrder":2,"margins":{"marginBottom":-22},"fieldStyle":{"textAlign":"Left","fontSize":{"value":15,"unit":"px"},"fontWeight":"Bold"},"location":null,"stepId":"8c78149a0e475aa167e90c67"},"decorative_paragraph_477546340889024":{"type":"Decorative Paragraph","value":"...","width":12,"step":1,"sortOrder":3,"customCssClasses":"progress progress-70","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"location":null,"stepId":"8c78149a0e475aa167e90c67"},"decorative_paragraph_98853041810985":{"type":"Decorative Paragraph","value":"First name","width":12,"stepId":"8c78149a0e475aa167e90c67","sortOrder":4,"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}},"location":null},"text_152881535699300":{"type":"Text","label":"first name","width":6,"stepId":"8c78149a0e475aa167e90c67","sortOrder":5,"hideLabel":true,"margins":{"marginTop":-20}},"decorative_paragraph_947747922065096":{"type":"Decorative Paragraph","value":"Last name","width":12,"stepId":"8c78149a0e475aa167e90c67","sortOrder":6,"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}},"location":null},"text_392849886081942":{"type":"Text","label":"Last name","width":6,"stepId":"8c78149a0e475aa167e90c67","sortOrder":7,"hideLabel":true,"margins":{"marginTop":-20},"location":null},"decorative_image_884929613360692":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1688466671/uploads/kkxbec1xnmkshpts7rvq.jpg","width":12,"imageWidth":625,"imageHeight":170,"imageInitialHeight":170,"imageInitialWidth":625,"stepId":"e436cff894a645f2d8d173bc","sortOrder":1,"location":null},"decorative_paragraph_235258600068240":{"type":"Decorative Paragraph","value":"Step 8 of 9","width":12,"step":1,"sortOrder":2,"margins":{"marginBottom":-22},"fieldStyle":{"textAlign":"Left","fontSize":{"value":15,"unit":"px"},"fontWeight":"Bold"},"location":null,"stepId":"e436cff894a645f2d8d173bc"},"decorative_paragraph_81340868312057":{"type":"Decorative Paragraph","value":"...","width":12,"step":1,"sortOrder":3,"customCssClasses":"progress progress-80","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"location":null,"stepId":"e436cff894a645f2d8d173bc"},"decorative_paragraph_913490997107325":{"type":"Decorative Paragraph","value":"Phone","width":12,"stepId":"e436cff894a645f2d8d173bc","sortOrder":4,"fieldStyle":{"textAlign":"Left","fontSize":{"value":16,"unit":"px"}},"location":null},"decorative_image_216833459234508":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1688466671/uploads/kkxbec1xnmkshpts7rvq.jpg","width":12,"imageWidth":625,"imageHeight":170,"imageInitialHeight":170,"imageInitialWidth":625,"stepId":"685ce4d03a033acf669f2f81","sortOrder":1,"location":null},"decorative_paragraph_954923615359363":{"type":"Decorative Paragraph","value":"Step 9 of 9","width":12,"step":1,"sortOrder":2,"margins":{"marginBottom":-22},"fieldStyle":{"textAlign":"Left","fontSize":{"value":15,"unit":"px"},"fontWeight":"Bold"},"location":null,"stepId":"685ce4d03a033acf669f2f81"},"decorative_paragraph_79974871843051":{"type":"Decorative Paragraph","value":"...","width":12,"step":1,"sortOrder":3,"customCssClasses":"progress progress-90","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"location":null,"stepId":"685ce4d03a033acf669f2f81"},"decorative_paragraph_962462554925943":{"type":"Decorative Paragraph","value":"By submitting the form you agree to be contacted by phone, Email or SMS. More details can be found in our [Privacy Policy](https://solar4good.co.uk/privacy-policy/)","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":10,"unit":"px"}},"location":"footer","margins":{"marginTop":-12},"stepId":"685ce4d03a033acf669f2f81"},"hidden_879458012590398":{"type":"Hidden","hiddenFieldName":"sub1","width":12,"stepId":"685ce4d03a033acf669f2f81","sortOrder":4}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":false,"hideOnFirstStep":false},"continueButton":{"continueText":"Next","submitText":"Submit","backText":"Back"},"customStyles":{"width":{"unit":"px","value":600},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":900,"imageInitialWidth":1800,"imageHeight":900,"imageWidth":1800,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1597394891/uploads/sbsnhuvt2wc0uyvwvgab.jpg"},"headerMarginTop":20,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#155577","bodyTextColor":"#585858","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#4b4b4b","buttonColorSelected":"#3ba434","buttonBorderColorSelected":"#cfecf9","footerMarginBottom":70,"errorColor":"#ff4e4e","buttonColor":"#ffffff","buttonTextColor":"#4b4b4b","inputLabelColor":"#000000","inputTextColor":"#000000","inputBackgroundColor":"#ffffff","buttonFontSize":18,"continueSubmitButtonFontSize":18,"continueButtonColor":"#72b239","continueButtonTextColor":"#ffffff","defaultFont":"Open Sans","buttonFont":"Open Sans","inputLabelFont":"Open Sans"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","actionOnSubmit":"redirect","customRedirectUrl":"https://thequotehound.com/next-steps","analyticsSettings":{"google_analytics":{"trackingId":"G-RDS9BXQEZD"}},"customRedirectUrls":[{"url":"https://get.solar4good.co.uk/next-steps","conditionalLogic":null}],"customCss":".button:hover {\nbackground-color: #f9f9f9;\n}\n\n@media only screen and (min-width: 600px) {\n.button:hover {\nbackground-color: #16C686;\ncolor: white !important;\n}\n}\n\n.countdown .markdown-p:before {\ncontent: \"\";\ndisplay: block;\nbackground: url(\"https://res.cloudinary.com/dqnjggegp/image/upload/v1664458149/growform-production/stopwatch.png\") no-repeat;\nbackground-size: 20px;\nwidth: 20px;\nheight: 20px;\nmargin-left:auto;\nmargin-right:auto;\ntext-align: center;\nmargin-bottom: 5px;\n}\n\n.progress .markdown {\nbackground-color: #e9ecef;\nborder-radius: 15px;\nheight: 25px;\n}\n\n.progress .markdown-p {\nbackground-color: #72B239;\nborder-top-left-radius:15px;\nborder-bottom-left-radius: 15px;\nheight:25px;\ncolor: #72B239;\nline-height: 25px;\nwidth: 30%;\ntext-shadow: 1px 1px #72B239;\n}\n\n.progress-10 .markdown-p {\nwidth: 10%;\n}\n\n.progress-20 .markdown-p {\nwidth: 20%;\n}\n\n.progress-30 .markdown-p {\nwidth: 30%;\n}\n\n.progress-40 .markdown-p {\nwidth: 40%;\n}\n\n.progress-50 .markdown-p {\nwidth: 50%;\n}\n\n.progress-60 .markdown-p {\nwidth: 60%;\n}\n\n.progress-70 .markdown-p {\nwidth: 70%;\n}\n\n.progress-80 .markdown-p {\nwidth: 80%;\n}\n\n.progress-90 .markdown-p {\nwidth: 95%;\n}\n\n@keyframes resultsTextAnimation {\n100% { opacity: 1; }\n}\n\n@keyframes loadingTextAnimation {\n100% { opacity: 0; height: 0; padding-top: 0; padding-bottom: 0 }\n}\n\n/* Starts off invisible, waits for 3 seconds, then fades in over 1 second */\n.resultsElements {\nopacity: 0;\ndisplay: block;\nanimation: resultsTextAnimation 1s forwards;\nanimation-delay: 3s;\n}\n\n/* Starts off visible, waits for 3 seconds, then fades out over 1 second */\n.loadingElements {\nopacity: 1;\nanimation: loadingTextAnimation 1s forwards;\nanimation-delay: 3s;\n}","sendCustomRedirectQueryParams":true},"ownedByUser":"617972747ea5e000213b727b","personalisation":{"form_related_to":"(None - Start with a blank slate)"},"created":"2023-04-17T11:52:27.853Z","__v":0,"lastEdited":"2024-01-10T14:38:00.662Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742564629/growform-production/form-screenshots/643d32fba68293000c1b5034.png","leadsCount":284,"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' + '