/* growform client2 bundle.url: https://assets.growform.co/cee2d99-mhw6hzfz/form.bundle.js resolve.source: memory resolve.at: 2025-12-13T16:33:53.550Z form.source: api cache.age_ms: 6430 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "6400994c273126000b233319"; 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":"6400994c273126000b233319","formName":"legal form - white","fields":{"decorative text_52363373085874":{"type":"Decorative Header","value":"We're on the case...","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"decorative text_467388329589508":{"type":"Decorative Header","value":"What type of accident did you have?","width":12,"step":1,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"stepId":"ba226f6509528c87840bc5db"},"buttons_623993022359160":{"type":"Buttons","validationRules":{"required":false},"label":"What type of accident did you have?","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"Car / vehicle accident","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1598215223/uploads/ahouftwavjoq03ueh6oj.png","id":"0c69e05904f28858917b537d"},{"text":"Construction acccident","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1598215325/uploads/jupbdmm3eenskoncfy3d.png","id":"95f46bf0e84f7330e04103f4"},{"text":"Accident at work","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1598215232/uploads/necmuhtishzfqnaygyok.png","id":"42a209e3b01e838a32e162b9"},{"text":"Other / not listed","image":"https://res.cloudinary.com/dqnjggegp/image/upload/v1598215365/uploads/qbfxms0sbjskyne8unwg.png","id":"357abd7c10364ddef2592d80"}],"step":1,"sortOrder":2,"helperText":"","imageStyles":{"width":"37","marginBottom":"17"},"buttonStyle":{"minWidth":"107","height":"113","buttonsPerRow":"4"},"stepId":"ba226f6509528c87840bc5db"},"decorative text_405809205132314":{"type":"Decorative Header","value":"Find Out How Much Compensation You Could Be Owed","width":12,"step":"header","sortOrder":1,"fieldStyle":{"fontSize":{"value":"27","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":null},"stepId":"header"},"decorative text_797442086161467":{"type":"Decorative Header","value":"How long ago was your accident?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"stepId":"9da0acd71d7f87fd43cfbea4"},"decorative text_760776853428203":{"type":"Decorative Header","value":"What's your ZIP code?","width":12,"step":3,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"stepId":"bcf0e92f93f2d4e30e84dfb2"},"decorative text_576559560634956":{"type":"Decorative Header","value":"How shall we get in touch?","width":12,"step":4,"sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"stepId":"be94cc2c771532feb88f996d"},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":3,"stepId":"be94cc2c771532feb88f996d"},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":4,"helperText":"","stepId":"be94cc2c771532feb88f996d"},"text_373461752242760":{"type":"Text","label":"Your name","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":2,"validationRules":{"required":true},"stepId":"be94cc2c771532feb88f996d"},"decorative text_194067845817258":{"type":"Decorative Paragraph","value":"An attorney will be in touch in the next 2-3 working days with typical claimant compensation for a case of your type.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"decorative divider_421201658947640":{"type":"Decorative Divider","width":12,"margins":{"marginBottom":0},"step":"header","sortOrder":2,"fieldStyle":{"backgroundColor":"#4a4a4a","width":"80"},"stepId":"header"},"text_67739851766278":{"type":"Text","label":"Your ZIP code","width":12,"margins":{"marginBottom":0},"step":3,"sortOrder":2,"stepId":"bcf0e92f93f2d4e30e84dfb2"},"single select_211461943280582":{"type":"Single Select","width":12,"label":"Accident timeframe","options":[{"text":"Less than 3 months ago","id":"e6e0e1dd9f70d07d1285c6a8"},{"text":"3-6 months ago","id":"51d63b27d9609e229cf902a1"},{"text":"6 months - 3 years ago","id":"e331cb6c9fc5f1d2e21e5676"},{"text":"3+ years ago","image":null,"id":"cd92e36a6696aded6dadf1f7"}],"helperText":null,"step":2,"sortOrder":2,"stepId":"9da0acd71d7f87fd43cfbea4"}},"options":{"numberOfSteps":4,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"variant":"circles"},"continueButton":{"continueText":"Next","submitText":"Send me my compensation details","backText":"Back"},"customStyles":{"width":{"unit":"px","value":550},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1114,"imageInitialWidth":1658,"imageHeight":1114,"imageWidth":1658,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1598207362/uploads/kxkiwvymql2t2fegv21w.jpg"},"headerMarginTop":0,"parentBackgroundColor":"#9e9e9e","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#901938","bodyTextColor":"#4a4a4a","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#ffffff","buttonColorSelected":"#f8eff1","buttonBorderColorSelected":"#901938","footerMarginBottom":0,"errorColor":"#ff4e4e","buttonColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","buttonTextColor":"#000000"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":""}]},"ownedByUser":"63fe29cb273126000b22e813","personalisation":{"form_related_to":"Lawyers or legal profession"},"created":"2023-03-02T12:40:44.723Z","__v":1,"lastEdited":"2025-02-27T13:47:10.413Z","steps":[{"id":"ba226f6509528c87840bc5db","name":"Unnamed step 1","sortOrder":1},{"id":"9da0acd71d7f87fd43cfbea4","name":"Unnamed step 2","sortOrder":2},{"id":"bcf0e92f93f2d4e30e84dfb2","name":"Unnamed step 3","sortOrder":3},{"id":"be94cc2c771532feb88f996d","name":"Unnamed step 4","sortOrder":4}],"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1742545663/growform-production/form-screenshots/6400994c273126000b233319.png","leadsCount":0,"folderId":"67dd9d1fced0f9000b0b239b","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' + '