/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: kv resolve.at: 2025-12-09T13:43:26.716Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "634f8cad7f12b400aa6d4c2b"; 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":"634f8cad7f12b400aa6d4c2b","formName":"FB Get Quote - American Standard Form","fields":{"Decorative Header_467388329589508":{"type":"Decorative Header","value":"Enter your zip code to see if you qualify","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"fontWeight":"Bold","fontFamily":"Montserrat","lineHeight":"130%","color":"#53565a"},"stepId":"cef7f68f08819d555d031995"},"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"},"decorative paragraph_799257360840766":{"type":"Decorative Paragraph","value":"Thanks for your interest!","width":12,"step":"complete","sortOrder":1,"stepId":"complete"},"number_633109459401212":{"type":"Number","label":"Zip Code","currencySymbol":"None","width":12,"step":1,"sortOrder":2,"hideLabel":false,"wholeNumbersOnly":true,"validationRules":{"required":true},"stepId":"cef7f68f08819d555d031995"},"decorative header_11891595058494":{"type":"Decorative Header","value":"Thanks. Now we just need to schedule your in-home design consultation!","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontFamily":"Montserrat","fontWeight":"bold","lineHeight":"130%","color":"#53565a","fontSize":{"value":18,"unit":"px"}},"stepId":"08a5f41c0cd71d3d03f5930f"},"text_61589449854588":{"type":"Text","label":"Last Name","width":12,"step":2,"sortOrder":3,"validationRules":{"required":true},"stepId":"08a5f41c0cd71d3d03f5930f"},"text_874219702095397":{"type":"Text","label":"First Name","width":12,"step":2,"sortOrder":2,"validationRules":{"required":true},"stepId":"08a5f41c0cd71d3d03f5930f"},"hidden_870534198323365":{"type":"Hidden","hiddenFieldName":"campaign_id","width":12,"step":1,"sortOrder":3,"stepId":"cef7f68f08819d555d031995"},"hidden_659510882244759":{"type":"Hidden","hiddenFieldName":"fb_click_id","width":12,"step":1,"sortOrder":4,"stepId":"cef7f68f08819d555d031995"},"hidden_793232224804564":{"type":"Hidden","hiddenFieldName":"SubID","width":12,"step":1,"sortOrder":5,"stepId":"cef7f68f08819d555d031995"},"hidden_401926992465138":{"type":"Hidden","hiddenFieldName":"PubID","width":12,"step":1,"sortOrder":6,"stepId":"cef7f68f08819d555d031995"},"hidden_395924163289544":{"type":"Hidden","hiddenFieldName":"campaign_medium","width":12,"step":1,"sortOrder":7,"stepId":"cef7f68f08819d555d031995"},"hidden_908950032283393":{"type":"Hidden","hiddenFieldName":"campaign_name","width":12,"step":1,"sortOrder":8,"stepId":"cef7f68f08819d555d031995"},"hidden_209436465429603":{"type":"Hidden","hiddenFieldName":"campaign_content","width":12,"step":1,"sortOrder":9,"stepId":"cef7f68f08819d555d031995"},"hidden_945074672322056":{"type":"Hidden","hiddenFieldName":"ad_set_name","width":12,"step":1,"sortOrder":10,"stepId":"cef7f68f08819d555d031995"},"phone_721050854797455":{"type":"Phone","label":"Phoe Number","width":12,"step":2,"sortOrder":4,"hideLabel":true,"stepId":"08a5f41c0cd71d3d03f5930f"},"email_438878481562207":{"type":"Email","label":"Email","width":12,"step":2,"sortOrder":5,"stepId":"08a5f41c0cd71d3d03f5930f"},"decorative paragraph_734762226987752":{"type":"Decorative Paragraph","value":"Terms: We respect your privacy and want to make sure you are aware of a few things. By clicking above, you authorize American Standard, who can help you learn more about bath remodel products, to call you and send sms messages at the telephone number(s) provided, and you understand that we may use automated phone technology including text messaging to contact you. You understand that your consent is not required to purchase products or services, and you understand that you may revoke your consent at any time by calling American Standard at 855-200-1870.","width":12,"step":2,"sortOrder":6,"fieldStyle":{"fontSize":{"value":10,"unit":"px"},"fontFamily":"Montserrat","color":"#212529"},"stepId":"08a5f41c0cd71d3d03f5930f"},"hidden_780657397690883":{"type":"Hidden","hiddenFieldName":"fb_clid","width":12,"step":1,"sortOrder":11,"stepId":"cef7f68f08819d555d031995"}},"options":{"numberOfSteps":2,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":false},"continueButton":{"continueText":"GET STARTED","submitText":"GET MY FREE QUOTE","backText":""},"customStyles":{"width":{"unit":"px","value":490},"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":0,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#f1c400","bodyTextColor":"#585858","parentContainerBackgroundType":"color","innerFormBackgroundType":"color","buttonBorderColor":"#f1c400","buttonColorSelected":"#f1c400","buttonBorderColorSelected":"#f1c400","footerMarginBottom":10,"errorColor":"#ff4e4e","buttonColor":"#f1c400","buttonTextColor":"#333333","inputLabelColor":" #a3a3a3","inputTextColor":"#000000","inputBackgroundColor":"#F8F8F8","buttonFont":"Montserrat","defaultFont":"Montserrat"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://americanstandardshowers.com/fb-confirmation/"}],"customCss":".continueButton {font-weight: bold;\n font-family: Montserrat;font-size: 18px;\n border-radius: 100px;color:#333 !important;\n}\n.MuiGrid-spacing-xs-4 > .MuiGrid-item {\n padding-bottom: 2px !important;\n}\n","actionOnSubmit":"redirect","sendCustomRedirectQueryParams":true},"ownedByUser":"62fbbc5eb23c1f00ab71500d","personalisation":{"form_related_to":"(None - Start with a blank slate)"},"created":"2022-10-19T05:35:41.686Z","__v":1,"lastEdited":"2023-03-01T07:21:55.037Z","steps":[{"id":"cef7f68f08819d555d031995","name":"Unnamed step 1","sortOrder":1},{"id":"08a5f41c0cd71d3d03f5930f","name":"Unnamed step 2","sortOrder":2}],"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742565662/growform-production/form-screenshots/634f8cad7f12b400aa6d4c2b.png","leadsCount":14,"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' + '