/* growform client2 bundle.url: https://assets.growform.co/7ce1dc50-mu2jbvpp/form.bundle.js resolve.source: kv resolve.at: 2026-10-14T16:10:28.036Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "6abf9c2e4ebd97534a63af17"; var FORM_BUNDLE_URL = "https://assets.growform.co/7ce1dc50-mu2jbvpp/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"6abf9c2e4ebd97534a63af17","options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"position":"formTop","line_showPercent":"No","line_enableStripes":"No","variant":"circles"},"continueButton":{"continueText":"Continue","submitText":"Submit","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":15,"parentBackgroundColor":"#f8f9fa","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#ffbe0b","bodyTextColor":"#344345","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":15,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","defaultFont":"Open Sans","sq_buttonFont":"Poppins","sq_buttonFontSize":15,"showShadows":"Yes","sq_buttonTextColor":"#343434","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#ffffff","rt_buttonFont":"Poppins","rt_buttonFontSize":15,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":15,"fullModeBackgroundColor":"#E7F3FA","canvasSetup":"minimal","radioButtonAndCheckboxColor":"#344345"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","logo":null,"endings":[{"id":"ending_ef659ee0-cd6a-485e-b112-5b54653359cb","name":"","url":"https://www.thecountrycastlecompany.co.uk/list/thanks/","type":"redirect","sortOrder":1,"conditionalLogic":null},{"id":"ending_9zqbrmmv","name":"Thank you (default)","type":"inFormEnding","sortOrder":2,"conditionalLogic":null}],"sendCustomRedirectQueryParams":false,"customCss":"/* ===============================\n Load Adobe Fonts kit\n =============================== */\n@import url(\"https://use.typekit.net/zki0mdv.css\");\n\n/* ===============================\n Base Typography\n =============================== */\nhtml, body, .parentContainer, .formBackground, .formContainer, .formContainer * {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\nbody, p, li, label, .fieldLabel, .helpText {\n letter-spacing: 0.1px;\n font-size: 17px;\n color: #344345;\n font-family: \"trade-gothic-next\", sans-serif !important;\n font-weight: 400;\n font-style: normal;\n}\n\n/* ===============================\n Headings (generic)\n =============================== */\nh1, h2, h3, h4, .title, .pageTitle {\n font-family: \"eb-garamond\", serif !important;\n font-weight: 500 !important;\n margin-bottom: 1rem;\n color: #1f2b2d;\n}\n\n/* ===============================\n Decorative headers (case-insensitive)\n Apply EB Garamond to container and inner elements; override inline styles where needed\n =============================== */\n[class*=\"decorative_header\" i],\n[class*=\"fieldtext_decorative_header\" i],\n[class*=\"decorative_header\" i] p,\n[class*=\"fieldtext_decorative_header\" i] p,\n[class*=\"decorative_header\" i] span,\n[class*=\"fieldtext_decorative_header\" i] span,\n[class*=\"decorative_header\" i] strong,\n[class*=\"fieldtext_decorative_header\" i] strong,\n[class*=\"decorative_header\" i] em,\n[class*=\"fieldtext_decorative_header\" i] em {\n font-family: \"eb-garamond\", serif !important;\n font-weight: 500 !important;\n font-size: clamp(24px, 3.2vw, 34px) !important;\n color: #1f2b2d !important;\n}\n[class*=\"decorative_header\" i] span[style],\n[class*=\"fieldtext_decorative_header\" i] span[style] {\n color: #1f2b2d !important;\n}\n\n/* ===============================\n Decorative text blocks (helper/intro copy)\n Keeps Trade Gothic; overrides inline styles\n =============================== */\n[class*=\"fieldtext_decorative_text\" i],\n[class*=\"fieldtext_decorative_text\" i] p,\n[class*=\"fieldtext_decorative_text\" i] span,\n[class*=\"fieldtext_decorative_text\" i] strong,\n[class*=\"fieldtext_decorative_text\" i] em {\n font-family: \"trade-gothic-next\", sans-serif !important;\n font-weight: 500 !important;\n font-size: 17px !important;\n color: #344345 !important;\n text-align: center;\n}\n[class*=\"fieldtext_decorative_text\" i] span[style] {\n color: #344345 !important;\n font-size: 17px !important;\n}\n\n/* ===============================\n Inputs (generic Growform selectors)\n =============================== */\ninput[type=\"text\"],\ninput[type=\"email\"],\ninput[type=\"tel\"],\ninput[type=\"number\"],\ntextarea,\nselect,\n.textInput,\n.textarea,\n.selectInput {\n font-family: \"trade-gothic-next\", sans-serif !important;\n font-size: 17px !important;\n color: #344345 !important;\n}\n\n/* ===============================\n Material-UI overrides (stops Poppins)\n Labels, inputs, selects, menu items, helper text\n =============================== */\n.MuiFormLabel-root,\n.MuiInputLabel-root,\n.MuiInputLabel-formControl,\n.MuiInputLabel-animated,\n.MuiInputLabel-shrink,\n.MuiFormLabel-filled {\n font-family: \"trade-gothic-next\", sans-serif !important;\n font-size: 17px !important;\n font-weight: 400 !important;\n color: #344345 !important;\n}\n\n.MuiInputBase-root,\n.MuiInputBase-input,\n.MuiFilledInput-root,\n.MuiFilledInput-input,\n.MuiOutlinedInput-root,\n.MuiOutlinedInput-input,\n.MuiInput-root,\n.MuiInput-input {\n font-family: \"trade-gothic-next\", sans-serif !important;\n font-size: 17px !important;\n color: #344345 !important;\n}\n\n.MuiSelect-root,\n.MuiSelect-select,\n.MuiSelect-selectMenu,\n.MuiSelect-filled,\n.MuiSelect-nativeInput {\n font-family: \"trade-gothic-next\", sans-serif !important;\n font-size: 17px !important;\n color: #344345 !important;\n}\n\n.MuiMenuItem-root,\n.MuiListItem-root {\n font-family: \"trade-gothic-next\", sans-serif !important;\n font-size: 17px !important;\n color: #344345 !important;\n}\n\n.MuiFormHelperText-root {\n font-family: \"trade-gothic-next\", sans-serif !important;\n font-size: 15px !important;\n color: #5a6a6d !important;\n}\n\n/* Checkbox & radio labels via MUI Typography */\n.MuiTypography-root,\n.MuiFormControlLabel-label {\n font-family: \"trade-gothic-next\", sans-serif !important;\n font-size: 17px !important;\n font-weight: 400 !important;\n color: #344345 !important;\n}\n\n/* =========================================\n 1) Don't override color on error states\n ========================================= */\n.MuiFormLabel-root:not(.Mui-error),\n.MuiInputLabel-root:not(.Mui-error) {\n color: #344345 !important;\n}\n\n.MuiFormHelperText-root:not(.Mui-error) {\n color: #5a6a6d !important;\n}\n\n.MuiInputBase-root:not(.Mui-error),\n.MuiInputBase-input:not(.Mui-error),\n.MuiFilledInput-root:not(.Mui-error),\n.MuiFilledInput-input:not(.Mui-error),\n.MuiOutlinedInput-root:not(.Mui-error),\n.MuiOutlinedInput-input:not(.Mui-error),\n.MuiInput-root:not(.Mui-error),\n.MuiInput-input:not(.Mui-error) {\n color: #344345 !important;\n}\n\n/* =========================================\n 2) Explicit error-state styles (labels, inputs, helper text)\n ========================================= */\n.MuiFormLabel-root.Mui-error,\n.MuiFormHelperText-root.Mui-error,\n.MuiInputBase-root.Mui-error .MuiInputBase-input,\n#errorText {\n color: #d32f2f !important; /* MUI v5 default error red; pick your brand red if needed */\n}\n\n/* Underline / outline variants while errored */\n.MuiInput-underline.Mui-error:after,\n.MuiFilledInput-underline.Mui-error:after {\n border-bottom-color: #d32f2f !important;\n}\n\n.MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline {\n border-color: #d32f2f !important;\n}\n\n/* Keep your typeface even in error state (optional) */\n.Mui-error {\n font-family: \"trade-gothic-next\", sans-serif !important;\n /* leave font-size/weight alone unless you want to force them */\n}\n\n/* (Optional) also catch aria-invalid for safety */\ninput[aria-invalid=\"true\"],\ntextarea[aria-invalid=\"true\"],\nselect[aria-invalid=\"true\"] {\n /* don't force text color here unless desired;\n if you want the border to pop on non-MUI elements: */\n outline: none;\n}\n\n/* If your helper text sometimes isn't flagged with .Mui-error, the ID will still color it */\n#errorText { color: #d32f2f !important; }\n\n.MuiFilledInput-multiline { padding-top: 45px !important; }\n\n.keep-in-touch legend { font-weight: bold !important; margin-bottom: 10px !important; }\n.keep-in-touch [class*=\"MuiFormControlLabel-root\"] { align-items: flex-start !important; }\n.keep-in-touch [class*=\"MuiCheckbox-root\"] { margin-top: -6px !important; }\n.contact-preference legend { font-weight: bold !important; margin-bottom: 10px !important; }\n.other-requirements legend { margin-bottom: 10px !important; }\n\n[class*=\"fieldbg_checkboxes_\"] [class*=\"MuiFormControlLabel-root\"] > span:first-child { padding-top: 5px !important; padding-bottom: 5px !important; }\n\n[class*=\"fieldbg_radio_buttons_\"] [class*=\"MuiFormControlLabel-root\"] > span:first-child { padding-top: 5px !important; padding-bottom: 5px !important; }\n\n[class*=\"MuiDialogActions-root\"] > button:nth-of-type(3) { color: #fff !important; ; background-color: #ffbe0b !important; font-weight: bold !important; }\n\n.MuiPickersDatePickerRoot-toolbar span.MuiButton-label > h4 { font-size: 26px !important; font-family: \"eb-garamond\", serif !important; }","analyticsSettings":{"google_analytics":{"trackingId":"G-BT6724BE6F"}}},"fields":{"decorative_text_674278728496323":{"type":"Decorative Text","value":"
Thanks for getting in touch. We'll be in contact soon.
","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"width":12,"v":2,"sortOrder":1,"stepId":"ending_9zqbrmmv"},"name_273877737757501":{"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":"acd45227cac332d443c4e1db","sortOrder":2,"hidePrefix":true},"email_905856789122508":{"type":"Email","label":"Email address","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":3},"phone_798255079416610":{"type":"Phone","label":"Phone number","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":4,"defaultCountryFormat":"gb"},"decorative_text_850748787548169":{"type":"Decorative Text","value":"Thanks for your enquiry!
","fieldStyle":{"fontSize":{"value":19,"unit":"px"}},"width":12,"v":2,"sortOrder":1,"margins":{"marginTop":20},"stepId":"ending_ef659ee0-cd6a-485e-b112-5b54653359cb"},"decorative_text_970166041695874":{"type":"Decorative Text","value":"Thanks for getting in touch. We'll be in contact soon.
","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"width":12,"v":2,"sortOrder":2,"stepId":"ending_ef659ee0-cd6a-485e-b112-5b54653359cb"},"decorative_text_31607724894489":{"type":"Decorative Text","value":"This is the @Step name ending
","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"width":12,"v":2,"sortOrder":3,"stepId":"ending_ef659ee0-cd6a-485e-b112-5b54653359cb"},"text_115423475098826":{"type":"Text","label":"Venue name","width":12,"sortOrder":2,"stepId":"c8a0b2570f3fc26b1a83b6f5","validationRules":{"required":true}},"text_799591732073859":{"type":"Text","label":"Venue website","width":12,"stepId":"c8a0b2570f3fc26b1a83b6f5","sortOrder":3},"single_select_63032674830153":{"type":"Single Select","width":12,"label":"Event types","options":[{"text":"Corporate events, retreats and offsites","id":"a6c65517c57f421c608d963e"},{"text":"Private events and celebrations","id":"1d1e77bfdf610fb906153ab6"},{"text":"Both corporate and private events","id":"303f3bc28511357af4aaf0d5"}],"helperText":null,"stepId":"c8a0b2570f3fc26b1a83b6f5","sortOrder":4},"text_285207670394369":{"type":"Text","label":"Additional information","width":12,"stepId":"c8a0b2570f3fc26b1a83b6f5","sortOrder":5,"multiline":true,"rows":4,"rowsMax":4,"helperText":"Anything else that would help us understand the venue and the types of events it suits."},"decorative_header_113958702831502":{"type":"Decorative Header","value":"Your details
","width":12,"v":2,"sortOrder":1,"stepId":"acd45227cac332d443c4e1db","location":null},"decorative_header_964122283186487":{"type":"Decorative Header","value":"Venue details
","width":12,"v":2,"sortOrder":1,"stepId":"c8a0b2570f3fc26b1a83b6f5","location":null}},"ownedByUser":"68b70bbdaa3234f01c4b94c2","formName":"TCCC | List Your Venue Enquiry","personalisation":{"form_related_to":"(None - start with a blank slate)"},"steps":[{"id":"acd45227cac332d443c4e1db","name":"Your details","sortOrder":1},{"id":"c8a0b2570f3fc26b1a83b6f5","name":"Venue details","sortOrder":2}],"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 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' + '