/* growform client2 bundle.url: https://assets.growform.co/d8c7d9a4-mon2udqj/form.bundle.js resolve.source: kv resolve.at: 2026-06-04T01:52:13.255Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "68e8488dd9e0c0dc27d937de"; var FORM_BUNDLE_URL = "https://assets.growform.co/d8c7d9a4-mon2udqj/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"68e8488dd9e0c0dc27d937de","options":{"numberOfSteps":4,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"Next","submitText":"GET QUOTE","backText":"Back"},"customStyles":{"width":{"unit":"px","value":500},"parentContainerMinHeight":{"value":100,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1116,"imageInitialWidth":1902,"imageHeight":1116,"imageWidth":1902,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1601642072/uploads/kli1cesuxhxnocew247x.jpg"},"headerMarginTop":20,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#e4e4e4","innerFormBackgroundTransparency":"","primaryColor":"#0079ff","bodyTextColor":"#030000","parentContainerBackgroundType":"none","innerFormBackgroundType":"color","buttonBorderColor":"#f5f5f5","buttonColorSelected":"#dce6f5","buttonBorderColorSelected":"#0079ff","footerMarginBottom":30,"errorColor":"#ff4e4e","buttonColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","buttonTextColor":"#000000","continueButtonColor":"#ed961c","canvasSetup":"minimal","showShadows":"No","formMarginSide":10,"progressColor":"#ff9b00","inputFontSize":14},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://kapaibuilders.co.nz/thank-you"}],"customCss":"#growform_5ap8d5a8na90d .parentContainer{ border-radius: 15px !important; }\n\n#growform_5ap8d5a8na90d .formBackground{ max-width: 500px;\n min-width: 500px;\n background: rgba(228, 228, 228, 0);\nborder-radius: 15px !important;\n }\n\n\n\n.backButton {\n color: black !important;\n}.\nparentContainer{ height: 470px !important; border-radius:15px !important }\n\n\n\n.MuiGrid-root.fieldbg.fieldbg_PoweredByBanner.MuiGrid-item.MuiGrid-grid-xs-12 {\n display: ;\n}\n\nelement {\n\n height: 110px;\n\n}\n.buttons_761291731351532-button:hover {\nbackground-color: #62a5c0; box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);\n}\n\n.buttons_723164589785671-button:hover{\nbackground-color: #62a5c0; box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);\n}\n","analyticsSettings":{"custom_gtm":{"childContainerId":"","parentContainerId":""},"google_ads":{"conversionId":"","conversionLabel":""},"google_analytics":{"trackingId":"G-0V3XM979MP"}},"actionOnSubmit":"redirect"},"fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"Thank you!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":"24","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete","customCssClasses":"ahmed"},"Decorative Header_467388329589508":{"type":"Decorative Header","value":"What’s the site address?","width":12,"step":3,"sortOrder":1,"fieldStyle":{"fontSize":{"value":12,"unit":"px"},"fontWeight":"Bold"},"stepId":"219cd9a1f94a82b474ce2e6f","margins":{"marginTop":-15}},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"Almsot Done!\nWhere can we send the quote to?","width":12,"step":4,"sortOrder":1,"fieldStyle":{"fontSize":{"value":12,"unit":"px"},"fontWeight":"Bold"},"stepId":"86283b5c7594819be9c0ec73","margins":{"marginTop":-15}},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":-15},"step":4,"sortOrder":4,"stepId":"86283b5c7594819be9c0ec73"},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":-15},"step":4,"sortOrder":5,"helperText":"","stepId":"86283b5c7594819be9c0ec73","defaultCountryFormat":"nz"},"Decorative Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"We'll be in contact soon with your free quote.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete","customCssClasses":"ahmed"},"Decorative Header_186644146795203":{"type":"Decorative Header","value":"What type of job do you have?","width":12,"sortOrder":2,"step":1,"fieldStyle":{"fontSize":{"value":14,"unit":"px"},"fontWeight":"Bold"},"stepId":"a246dfcb8165fa764e1e6bf3","margins":{"marginTop":-20}},"buttons_761291731351532":{"type":"Buttons","validationRules":{"required":false},"label":"What type of job do you have?","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"New Deck","image":null,"id":"8574e722a863175cd7cf38dd"},{"text":"Deck Repair","image":null,"id":"ed5facebfea247b888ba2efd"},{"text":"Deck Painting/Staining","image":null,"id":"54d7def5cd4c50b20d59e051"}],"step":1,"sortOrder":3,"buttonStyle":{"minWidth":"109","buttonsPerRow":"3","height":69},"stepId":"a246dfcb8165fa764e1e6bf3","margins":{"marginTop":-10,"marginRight":-10},"imageStyles":{"width":25,"marginBottom":7,"rt_width":25,"borderRadius":0,"marginTop":0}},"Decorative Header_432162876647846":{"type":"Decorative Header","value":"What’s the estimate floor size","width":12,"sortOrder":1,"step":2,"fieldStyle":{"fontSize":{"value":12,"unit":"px"},"fontWeight":"Bold"},"stepId":"98a65f1b2b3bd4ea8815e1f9","margins":{"marginTop":-15}},"decorative_header_86443135174743":{"type":"Decorative Header","value":"Lastly, let us know any job details. ","width":12,"sortOrder":1,"stepId":"7374def8756e600a45f0446e","fieldStyle":{"fontSize":{"value":12,"unit":"px"}},"margins":{"marginTop":-15}},"text_629763666683611":{"type":"Text","label":"Please share a few details about the job.","width":12,"stepId":"7374def8756e600a45f0446e","sortOrder":2,"margins":{"marginTop":-10}},"decorative_paragraph_890563385690226":{"type":"Decorative Paragraph","value":"select one option above","width":12,"stepId":"a246dfcb8165fa764e1e6bf3","sortOrder":4,"margins":{"marginTop":-5}},"address_641883214479540":{"type":"Address","label":"What is your address?","width":12,"stepId":"219cd9a1f94a82b474ce2e6f","sortOrder":2,"margins":{"marginTop":-10}},"buttons_723164589785671":{"type":"Buttons","validationRules":{"required":true},"label":"What’s the estimate floor size","width":12,"multiple":false,"buttonStyle":{"buttonsPerRow":"4","height":81},"options":[{"text":" 5-10m²","id":"8c154517a6bde093f8d77a4a","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1682988802/uploads/moebgptzmnaim4tjwr91.webp"},{"text":" 11-20m²","id":"24d5c3dd27d8e95610fa6f57","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1682988804/uploads/fqfxcnsvcngsgxwjqvch.webp"},{"text":"21-30m²","id":"c73b8b72e033747301813f8a","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1682988805/uploads/vxyqsau6glqhuq6rqqlg.webp"},{"text":"31m²+","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1682988807/uploads/ceojrswandh9uljy5ygs.webp","id":"84f9086d0a11aec592b1f71c"}],"stepId":"98a65f1b2b3bd4ea8815e1f9","sortOrder":2,"hideLabel":true,"imageStyles":{"marginBottom":5,"width":55,"marginTop":0}},"decorative_header_18801222452631":{"type":"Decorative Header","value":"What’s your timeframe?","width":12,"sortOrder":1,"step":2,"fieldStyle":{"fontSize":{"value":12,"unit":"px"},"fontWeight":"Bold"},"stepId":"cdede5581e0206a9858e1271","margins":{"marginTop":-15}},"buttons_200499007788283":{"type":"Buttons","validationRules":{"required":true},"label":"Timeframe","width":12,"multiple":false,"buttonStyle":{"buttonsPerRow":"4","height":60},"options":[{"text":"Urgent","id":"24d5c3dd27d8e95610fa6f57","image":null},{"text":"1-3 Weeks","id":"c73b8b72e033747301813f8a","image":null},{"text":"1-2 Months","image":null,"id":"0ae3e2ca1e1ad9aba42842c6"},{"text":"Not Sure","image":null,"id":"83322128eb6aaec8690b4ce3"}],"stepId":"cdede5581e0206a9858e1271","sortOrder":2,"hideLabel":true,"imageStyles":{"marginBottom":5,"width":55,"marginTop":0},"margins":{"marginTop":-2}},"decorative_image_254929752750547":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1758747726/uploads/bsdeeuugndulf9f1fity.png","width":12,"imageWidth":1098,"imageHeight":148,"imageInitialHeight":148,"imageInitialWidth":1098,"stepId":"a246dfcb8165fa764e1e6bf3","sortOrder":1},"text_834637702502253":{"type":"Text","label":"First Name","width":6,"stepId":"86283b5c7594819be9c0ec73","sortOrder":2,"validationRules":{"required":true},"margins":{"marginBottom":-15}},"text_902169678238638":{"type":"Text","label":"Last Name","width":6,"stepId":"86283b5c7594819be9c0ec73","sortOrder":3,"margins":{"marginBottom":-15}}},"ownedByUser":"644b42d972b98f000ccc859e","formName":"KaiPai Builders - Decking","personalisation":{"form_related_to":"B2B / SaaS products or services"},"lastEdited":"2025-10-28T01:12:46.369Z","created":"2025-10-09T23:43:09.651Z","steps":[{"id":"a246dfcb8165fa764e1e6bf3","name":"Job ytpe","sortOrder":1},{"id":"98a65f1b2b3bd4ea8815e1f9","name":"Floor Size","sortOrder":2,"conditionalLogic":null},{"id":"cdede5581e0206a9858e1271","name":"Timeframe","sortOrder":3,"copyOf":"98a65f1b2b3bd4ea8815e1f9"},{"id":"219cd9a1f94a82b474ce2e6f","name":"Unnamed step 3","sortOrder":4},{"id":"86283b5c7594819be9c0ec73","name":"Unnamed step 4","sortOrder":5},{"id":"7374def8756e600a45f0446e","name":"(Unnamed step)","sortOrder":6}],"folderId":"68e8487cd9e0c0dc27d937ab","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1761610341/growform-production/form-screenshots/68e8488dd9e0c0dc27d937de.png","leadsCount":27,"isActive":true,"__v":0,"reportedSpam":false,"spamOcr":"Get a Quote\nWhat type of job do you have?\nNew Deck\nDeck Repair\nselect one option above\nDeck\nPainting/Staining Get a Quote What type of job do you have ? New Deck Deck Repair select one option above Deck Painting / Staining"},"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' + '