{"id":3636,"date":"2025-11-02T13:57:28","date_gmt":"2025-11-02T13:57:28","guid":{"rendered":"https:\/\/www.ogweddings.ca\/?page_id=3636"},"modified":"2026-02-04T07:38:53","modified_gmt":"2026-02-04T07:38:53","slug":"venue-form","status":"publish","type":"page","link":"https:\/\/www.ogweddings.ca\/fr\/venue-form\/","title":{"rendered":"Formulaire de lieu"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3636\" class=\"elementor elementor-3636\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-56c912b elementor-section-height-min-height elementor-section-full_width elementor-section-stretched elementor-section-height-default elementor-section-items-middle\" data-id=\"56c912b\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;shape_divider_bottom&quot;:&quot;book&quot;,&quot;stretch_section&quot;:&quot;section-stretched&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t<div class=\"elementor-shape elementor-shape-bottom\" aria-hidden=\"true\" data-negative=\"false\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 1000 100\" preserveAspectRatio=\"none\">\n\t<path class=\"elementor-shape-fill\" d=\"M194,99c186.7,0.7,305-78.3,306-97.2c1,18.9,119.3,97.9,306,97.2c114.3-0.3,194,0.3,194,0.3s0-91.7,0-100c0,0,0,0,0-0 L0,0v99.3C0,99.3,79.7,98.7,194,99z\"\/>\n<\/svg>\t\t<\/div>\n\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3604248\" data-id=\"3604248\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-820595c elementor-widget elementor-widget-heading\" data-id=\"820595c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Let\u2019s Start Planning Your Day<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9605544 elementor-widget elementor-widget-text-editor\" data-id=\"9605544\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">Ready to host your wedding at one of the most romantic and unique venues in New Brunswick? Fill out the form below to check availability, request a tour, or begin customizing your event.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t<div class=\"elementor-element elementor-element-df75063 e-flex e-con-boxed e-con e-parent\" data-id=\"df75063\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ef446e4 elementor-widget elementor-widget-heading\" data-id=\"ef446e4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Venue Request Form<\/h2>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3c6eb85 e-flex e-con-boxed e-con e-parent\" data-id=\"3c6eb85\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1f6056a elementor-widget elementor-widget-html\" data-id=\"1f6056a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id=\"mc_embed_shell\">\r\n    <link href=\"\/\/cdn-images.mailchimp.com\/embedcode\/classic-061523.css\" rel=\"stylesheet\" type=\"text\/css\">\r\n    <script src=\"https:\/\/www.google.com\/recaptcha\/api.js\" async defer><\/script>\r\n    <style type=\"text\/css\">\r\n        #mc_embed_signup {\r\n            background: #fff;\r\n            \/* false; *\/\r\n            clear: left;\r\n            font: 14px Helvetica, Arial, sans-serif;\r\n            width: px;\r\n        }\r\n\r\n        \/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.\r\n           We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. *\/\r\n    <\/style>\r\n    <div id=\"mc_embed_signup\">\r\n        <form\r\n            action=\"https:\/\/ogales.us20.list-manage.com\/subscribe\/post?u=698ea8f8ae12651b05c4902b5&amp;id=7dccbf9f91&amp;f_id=000fc2e1f0\"\r\n            method=\"post\" id=\"mc-embedded-subscribe-form\" name=\"mc-embedded-subscribe-form\" class=\"validate\"\r\n            onsubmit=\"return validateRecaptchaBeforeSubmit(event)\">\r\n            <div id=\"mc_embed_signup_scroll\">\r\n                <div class=\"indicates-required\"><span class=\"asterisk\">*<\/span> indicates required<\/div>\r\n                <div class=\"mc-field-group\"><label for=\"mce-EMAIL\">Email Address <span\r\n                            class=\"asterisk\">*<\/span><\/label><input type=\"email\" name=\"EMAIL\" class=\"required email\"\r\n                        id=\"mce-EMAIL\" required=\"\" value=\"\"><\/div>\r\n                <div class=\"mc-field-group\"><label for=\"mce-FNAME\">First Name <\/label><input type=\"text\" name=\"FNAME\"\r\n                        class=\" text\" id=\"mce-FNAME\" value=\"\"><\/div>\r\n                <div class=\"mc-field-group\"><label for=\"mce-LNAME\">Last Name <\/label><input type=\"text\" name=\"LNAME\"\r\n                        class=\" text\" id=\"mce-LNAME\" value=\"\"><\/div>\r\n                <div class=\"mc-field-group\"><label for=\"mce-PHONE\">Phone Number <\/label><input type=\"text\" name=\"PHONE\"\r\n                        class=\"REQ_CSS\" id=\"mce-PHONE\" value=\"\"><\/div>\r\n                <div class=\"mc-field-group\"><label for=\"mce-MMERGE7\">What Expected Package are You Looking For?\r\n                    <\/label><select name=\"MMERGE7\" class=\"\" id=\"mce-MMERGE7\">\r\n                        <option value=\"\"><\/option>\r\n                        <option value=\"Wedding\">Wedding<\/option>\r\n                        <option value=\"Wedding + Lakeside Retreats\">Wedding + Lakeside Retreats<\/option>\r\n                        <option value=\"Engagement Party\">Engagement Party<\/option>\r\n                        <option value=\"Others\">Others<\/option>\r\n                    <\/select><\/div>\r\n                <div class=\"mc-field-group\"><label for=\"mce-MMERGE9\">Description <\/label><input type=\"text\"\r\n                        name=\"MMERGE9\" class=\" text\" id=\"mce-MMERGE9\" value=\"\"><\/div>\r\n                <div class=\"mc-field-group size1of2\"><label for=\"mce-MMERGE8-month\">Propose Wedding Date <\/label>\r\n                    <div class=\"datefield\"><span class=\"subfield dayfield\"><input class=\"datepart \" type=\"text\"\r\n                                pattern=\"[0-9]*\" placeholder=\"DD\" size=\"2\" maxlength=\"2\" name=\"MMERGE8[day]\"\r\n                                id=\"mce-MMERGE8-day\" value=\"\"><\/span> \/<span class=\"subfield monthfield\"><input\r\n                                class=\"datepart \" type=\"text\" pattern=\"[0-9]*\" placeholder=\"MM\" size=\"2\" maxlength=\"2\"\r\n                                name=\"MMERGE8[month]\" id=\"mce-MMERGE8-month\" value=\"\"><\/span> \/<span\r\n                            class=\"subfield yearfield\"><input class=\"datepart \" type=\"text\" pattern=\"[0-9]*\"\r\n                                placeholder=\"YYYY\" size=\"4\" maxlength=\"4\" name=\"MMERGE8[year]\" id=\"mce-MMERGE8-year\"\r\n                                value=\"\"><\/span><span class=\"small-meta nowrap\">( dd \/ mm \/ yyyy )<\/span><\/div>\r\n                <\/div>\r\n                <div class=\"mc-field-group\"><label for=\"mce-MMERGE10\">Expected Number of Guests? <\/label><select\r\n                        name=\"MMERGE10\" class=\"\" id=\"mce-MMERGE10\">\r\n                        <option value=\"\"><\/option>\r\n                        <option value=\"1 - 50\">1 - 50<\/option>\r\n                        <option value=\"51 - 100\">51 - 100<\/option>\r\n                    <\/select><\/div>\r\n                <div hidden=\"\"><input type=\"hidden\" name=\"tags\" value=\"291,293\"><\/div>\r\n                <div id=\"mce-responses\" class=\"clear\">\r\n                    <div class=\"response\" id=\"mce-error-response\" style=\"display: none;\"><\/div>\r\n                    <div class=\"response\" id=\"mce-success-response\" style=\"display: none;\"><\/div>\r\n                <\/div>\r\n                <div aria-hidden=\"true\" style=\"position: absolute; left: -5000px;\"><input type=\"text\"\r\n                        name=\"b_698ea8f8ae12651b05c4902b5_7dccbf9f91\" tabindex=\"-1\" value=\"\"><\/div>\r\n                <div style=\"position: relative; margin: 10px 0;\">\r\n                    <div class=\"g-recaptcha\" data-sitekey=\"6LecJmAsAAAAALbe740sinDkTFoDkyWd9pIlxgNa\" data-callback=\"onRecaptchaSuccess\" data-expired-callback=\"onRecaptchaExpired\"><\/div>\r\n                    <input type=\"hidden\" name=\"g-recaptcha-response\" id=\"recaptchaResponse\" value=\"\">\r\n                <\/div>\r\n                <div class=\"clear\"><input type=\"submit\" name=\"subscribe\" id=\"mc-embedded-subscribe\" class=\"button\"\r\n                        value=\"Submit\" disabled><\/div>\r\n            <\/div>\r\n        <\/form>\r\n    <\/div>\r\n    <script type=\"text\/javascript\" src=\"\/\/s3.amazonaws.com\/downloads.mailchimp.com\/js\/mc-validate.js\"><\/script>\r\n    <script type=\"text\/javascript\">(function ($) { window.fnames = new Array(); window.ftypes = new Array(); fnames[0] = 'EMAIL'; ftypes[0] = 'email'; fnames[1] = 'FNAME'; ftypes[1] = 'text'; fnames[2] = 'LNAME'; ftypes[2] = 'text'; fnames[4] = 'PHONE'; ftypes[4] = 'phone'; fnames[7] = 'MMERGE7'; ftypes[7] = 'dropdown'; fnames[9] = 'MMERGE9'; ftypes[9] = 'text'; fnames[8] = 'MMERGE8'; ftypes[8] = 'date'; fnames[10] = 'MMERGE10'; ftypes[10] = 'dropdown'; fnames[3] = 'ADDRESS'; ftypes[3] = 'address'; fnames[5] = 'BIRTHDAY'; ftypes[5] = 'birthday'; fnames[6] = 'COMPANY'; ftypes[6] = 'text'; }(jQuery)); var $mcj = jQuery.noConflict(true);\r\n        \/\/ SMS Phone Multi-Country Functionality\r\n        if (!window.MC) {\r\n            window.MC = {};\r\n        }\r\n        window.MC.smsPhoneData = {\r\n            defaultCountryCode: 'CA',\r\n            programs: [],\r\n            smsProgramDataCountryNames: []\r\n        };\r\n\r\n        function getCountryUnicodeFlag(countryCode) {\r\n            return countryCode.toUpperCase().replace(\/.\/g, (char) => String.fromCodePoint(char.charCodeAt(0) + 127397))\r\n        };\r\n\r\n        \/\/ HTML sanitization function to prevent XSS\r\n        function sanitizeHtml(str) {\r\n            if (typeof str !== 'string') return '';\r\n            return str\r\n                .replace(\/&\/g, '&amp;')\r\n                .replace(\/<\/g, '&lt;')\r\n                .replace(\/>\/g, '&gt;')\r\n                .replace(\/\"\/g, '&quot;')\r\n                .replace(\/'\/g, '&#x27;')\r\n                .replace(\/\\\/\/g, '&#x2F;');\r\n        }\r\n\r\n        \/\/ URL sanitization function to prevent javascript: and data: URLs\r\n        function sanitizeUrl(url) {\r\n            if (typeof url !== 'string') return '';\r\n            const trimmedUrl = url.trim().toLowerCase();\r\n            if (trimmedUrl.startsWith('javascript:') || trimmedUrl.startsWith('data:') || trimmedUrl.startsWith('vbscript:')) {\r\n                return '#';\r\n            }\r\n            return url;\r\n        }\r\n\r\n        const getBrowserLanguage = () => {\r\n            if (!window?.navigator?.language?.split('-')[1]) {\r\n                return window?.navigator?.language?.toUpperCase();\r\n            }\r\n            return window?.navigator?.language?.split('-')[1];\r\n        };\r\n\r\n        function getDefaultCountryProgram(defaultCountryCode, smsProgramData) {\r\n            if (!smsProgramData || smsProgramData.length === 0) {\r\n                return null;\r\n            }\r\n\r\n            const browserLanguage = getBrowserLanguage();\r\n\r\n            if (browserLanguage) {\r\n                const foundProgram = smsProgramData.find(\r\n                    (program) => program?.countryCode === browserLanguage,\r\n                );\r\n                if (foundProgram) {\r\n                    return foundProgram;\r\n                }\r\n            }\r\n\r\n            if (defaultCountryCode) {\r\n                const foundProgram = smsProgramData.find(\r\n                    (program) => program?.countryCode === defaultCountryCode,\r\n                );\r\n                if (foundProgram) {\r\n                    return foundProgram;\r\n                }\r\n            }\r\n\r\n            return smsProgramData[0];\r\n        }\r\n\r\n        function updateSmsLegalText(countryCode, fieldName) {\r\n            if (!countryCode || !fieldName) {\r\n                return;\r\n            }\r\n\r\n            const programs = window?.MC?.smsPhoneData?.programs;\r\n            if (!programs || !Array.isArray(programs)) {\r\n                return;\r\n            }\r\n\r\n            const program = programs.find(program => program?.countryCode === countryCode);\r\n            if (!program || !program.requiredTemplate) {\r\n                return;\r\n            }\r\n\r\n            const legalTextElement = document.querySelector('#legal-text-' + fieldName);\r\n            if (!legalTextElement) {\r\n                return;\r\n            }\r\n\r\n            \/\/ Remove HTML tags and clean up the text\r\n            const divRegex = new RegExp('<\/?[div][^>]*>', 'gi');\r\n            const fullAnchorRegex = new RegExp('<a.*?<\/a>', 'g');\r\n            const anchorRegex = new RegExp('<a href=\"(.*?)\" target=\"(.*?)\">(.*?)<\/a>');\r\n\r\n            const template = program.requiredTemplate.replace(divRegex, '');\r\n\r\n\r\n\r\n            legalTextElement.textContent = '';\r\n            const parts = template.split(\/(<a href=\".*?\" target=\".*?\">.*?<\\\/a>)\/g);\r\n            parts.forEach(function (part) {\r\n                if (!part) {\r\n                    return;\r\n                }\r\n                const anchorMatch = part.match(\/<a href=\"(.*?)\" target=\"(.*?)\">(.*?)<\\\/a>\/);\r\n                if (anchorMatch) {\r\n                    const linkElement = document.createElement('a');\r\n                    linkElement.href = sanitizeUrl(anchorMatch[1]);\r\n                    linkElement.target = sanitizeHtml(anchorMatch[2]);\r\n                    linkElement.textContent = sanitizeHtml(anchorMatch[3]);\r\n                    legalTextElement.appendChild(linkElement);\r\n                } else {\r\n                    legalTextElement.appendChild(document.createTextNode(part));\r\n                }\r\n            });\r\n\r\n        }\r\n\r\n        function generateDropdownOptions(smsProgramData) {\r\n            if (!smsProgramData || smsProgramData.length === 0) {\r\n                return '';\r\n            }\r\n\r\n            return smsProgramData.map(program => {\r\n                const flag = getCountryUnicodeFlag(program.countryCode);\r\n                const countryName = getCountryName(program.countryCode);\r\n                const callingCode = program.countryCallingCode || '';\r\n                \/\/ Sanitize all values to prevent XSS\r\n                const sanitizedCountryCode = sanitizeHtml(program.countryCode || '');\r\n                const sanitizedCountryName = sanitizeHtml(countryName || '');\r\n                const sanitizedCallingCode = sanitizeHtml(callingCode || '');\r\n                return '<option value=\"' + sanitizedCountryCode + '\">' + sanitizedCountryName + ' ' + sanitizedCallingCode + '<\/option>';\r\n            }).join('');\r\n        }\r\n\r\n        function getCountryName(countryCode) {\r\n            if (window.MC?.smsPhoneData?.smsProgramDataCountryNames && Array.isArray(window.MC.smsPhoneData.smsProgramDataCountryNames)) {\r\n                for (let i = 0; i < window.MC.smsPhoneData.smsProgramDataCountryNames.length; i++) {\r\n                    if (window.MC.smsPhoneData.smsProgramDataCountryNames[i].code === countryCode) {\r\n                        return window.MC.smsPhoneData.smsProgramDataCountryNames[i].name;\r\n                    }\r\n                }\r\n            }\r\n            return countryCode;\r\n        }\r\n\r\n        function getDefaultPlaceholder(countryCode) {\r\n            if (!countryCode || typeof countryCode !== 'string') {\r\n                return '+1 000 000 0000'; \/\/ Default US placeholder\r\n            }\r\n\r\n            var mockPlaceholders = [\r\n                {\r\n                    countryCode: 'US',\r\n                    placeholder: '+1 000 000 0000',\r\n                    helpText: 'Include the US country code +1 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'GB',\r\n                    placeholder: '+44 0000 000000',\r\n                    helpText: 'Include the GB country code +44 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'CA',\r\n                    placeholder: '+1 000 000 0000',\r\n                    helpText: 'Include the CA country code +1 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'AU',\r\n                    placeholder: '+61 000 000 000',\r\n                    helpText: 'Include the AU country code +61 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'DE',\r\n                    placeholder: '+49 000 0000000',\r\n                    helpText: 'F\u00fcgen Sie vor der Telefonnummer die DE-L\u00e4ndervorwahl +49 ein',\r\n                },\r\n                {\r\n                    countryCode: 'FR',\r\n                    placeholder: '+33 0 00 00 00 00',\r\n                    helpText: 'Incluez le code pays FR +33 avant le num\u00e9ro de t\u00e9l\u00e9phone',\r\n                },\r\n                {\r\n                    countryCode: 'ES',\r\n                    placeholder: '+34 000 000 000',\r\n                    helpText: 'Incluya el c\u00f3digo de pa\u00eds ES +34 antes del n\u00famero de tel\u00e9fono',\r\n                },\r\n                {\r\n                    countryCode: 'NL',\r\n                    placeholder: '+31 0 00000000',\r\n                    helpText: 'Voeg de NL-landcode +31 toe v\u00f3\u00f3r het telefoonnummer',\r\n                },\r\n                {\r\n                    countryCode: 'BE',\r\n                    placeholder: '+32 000 00 00 00',\r\n                    helpText: 'Incluez le code pays BE +32 avant le num\u00e9ro de t\u00e9l\u00e9phone',\r\n                },\r\n                {\r\n                    countryCode: 'CH',\r\n                    placeholder: '+41 00 000 00 00',\r\n                    helpText: 'F\u00fcgen Sie vor der Telefonnummer die CH-L\u00e4ndervorwahl +41 ein',\r\n                },\r\n                {\r\n                    countryCode: 'AT',\r\n                    placeholder: '+43 000 000 0000',\r\n                    helpText: 'F\u00fcgen Sie vor der Telefonnummer die AT-L\u00e4ndervorwahl +43 ein',\r\n                },\r\n                {\r\n                    countryCode: 'IE',\r\n                    placeholder: '+353 00 000 0000',\r\n                    helpText: 'Include the IE country code +353 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'IT',\r\n                    placeholder: '+39 000 000 0000',\r\n                    helpText: 'Includere il prefisso internazionale IT +39 prima del numero di telefono',\r\n                },\r\n            ];\r\n\r\n            const selectedPlaceholder = mockPlaceholders.find(function (item) {\r\n                return item && item.countryCode === countryCode;\r\n            });\r\n\r\n            return selectedPlaceholder ? selectedPlaceholder.placeholder : mockPlaceholders[0].placeholder;\r\n        }\r\n\r\n        function updatePlaceholder(countryCode, fieldName) {\r\n            if (!countryCode || !fieldName) {\r\n                return;\r\n            }\r\n\r\n            const phoneInput = document.querySelector('#mce-' + fieldName);\r\n            if (!phoneInput) {\r\n                return;\r\n            }\r\n\r\n            const placeholder = getDefaultPlaceholder(countryCode);\r\n            if (placeholder) {\r\n                phoneInput.placeholder = placeholder;\r\n            }\r\n        }\r\n\r\n        function updateCountryCodeInstruction(countryCode, fieldName) {\r\n            updatePlaceholder(countryCode, fieldName);\r\n\r\n        }\r\n\r\n        function getDefaultHelpText(countryCode) {\r\n            var mockPlaceholders = [\r\n                {\r\n                    countryCode: 'US',\r\n                    placeholder: '+1 000 000 0000',\r\n                    helpText: 'Include the US country code +1 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'GB',\r\n                    placeholder: '+44 0000 000000',\r\n                    helpText: 'Include the GB country code +44 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'CA',\r\n                    placeholder: '+1 000 000 0000',\r\n                    helpText: 'Include the CA country code +1 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'AU',\r\n                    placeholder: '+61 000 000 000',\r\n                    helpText: 'Include the AU country code +61 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'DE',\r\n                    placeholder: '+49 000 0000000',\r\n                    helpText: 'F\u00fcgen Sie vor der Telefonnummer die DE-L\u00e4ndervorwahl +49 ein',\r\n                },\r\n                {\r\n                    countryCode: 'FR',\r\n                    placeholder: '+33 0 00 00 00 00',\r\n                    helpText: 'Incluez le code pays FR +33 avant le num\u00e9ro de t\u00e9l\u00e9phone',\r\n                },\r\n                {\r\n                    countryCode: 'ES',\r\n                    placeholder: '+34 000 000 000',\r\n                    helpText: 'Incluya el c\u00f3digo de pa\u00eds ES +34 antes del n\u00famero de tel\u00e9fono',\r\n                },\r\n                {\r\n                    countryCode: 'NL',\r\n                    placeholder: '+31 0 00000000',\r\n                    helpText: 'Voeg de NL-landcode +31 toe v\u00f3\u00f3r het telefoonnummer',\r\n                },\r\n                {\r\n                    countryCode: 'BE',\r\n                    placeholder: '+32 000 00 00 00',\r\n                    helpText: 'Incluez le code pays BE +32 avant le num\u00e9ro de t\u00e9l\u00e9phone',\r\n                },\r\n                {\r\n                    countryCode: 'CH',\r\n                    placeholder: '+41 00 000 00 00',\r\n                    helpText: 'F\u00fcgen Sie vor der Telefonnummer die CH-L\u00e4ndervorwahl +41 ein',\r\n                },\r\n                {\r\n                    countryCode: 'AT',\r\n                    placeholder: '+43 000 000 0000',\r\n                    helpText: 'F\u00fcgen Sie vor der Telefonnummer die AT-L\u00e4ndervorwahl +43 ein',\r\n                },\r\n                {\r\n                    countryCode: 'IE',\r\n                    placeholder: '+353 00 000 0000',\r\n                    helpText: 'Include the IE country code +353 before the phone number',\r\n                },\r\n                {\r\n                    countryCode: 'IT',\r\n                    placeholder: '+39 000 000 0000',\r\n                    helpText: 'Includere il prefisso internazionale IT +39 prima del numero di telefono',\r\n                },\r\n            ];\r\n\r\n            if (!countryCode || typeof countryCode !== 'string') {\r\n                return mockPlaceholders[0].helpText;\r\n            }\r\n\r\n            const selectedHelpText = mockPlaceholders.find(function (item) {\r\n                return item && item.countryCode === countryCode;\r\n            });\r\n\r\n            return selectedHelpText ? selectedHelpText.helpText : mockPlaceholders[0].helpText;\r\n        }\r\n\r\n        function setDefaultHelpText(countryCode) {\r\n            const helpTextSpan = document.querySelector('#help-text');\r\n            if (!helpTextSpan) {\r\n                return;\r\n            }\r\n\r\n\r\n        }\r\n\r\n        function updateHelpTextCountryCode(countryCode, fieldName) {\r\n            if (!countryCode || !fieldName) {\r\n                return;\r\n            }\r\n\r\n            setDefaultHelpText(countryCode);\r\n        }\r\n\r\n        function initializeSmsPhoneDropdown(fieldName) {\r\n            if (!fieldName || typeof fieldName !== 'string') {\r\n                return;\r\n            }\r\n\r\n            const dropdown = document.querySelector('#country-select-' + fieldName);\r\n            const displayFlag = document.querySelector('#flag-display-' + fieldName);\r\n\r\n            if (!dropdown || !displayFlag) {\r\n                return;\r\n            }\r\n\r\n            const smsPhoneData = window.MC?.smsPhoneData;\r\n            if (smsPhoneData && smsPhoneData.programs && Array.isArray(smsPhoneData.programs)) {\r\n                dropdown.innerHTML = generateDropdownOptions(smsPhoneData.programs);\r\n            }\r\n\r\n            const defaultProgram = getDefaultCountryProgram(smsPhoneData?.defaultCountryCode, smsPhoneData?.programs);\r\n            if (defaultProgram && defaultProgram.countryCode) {\r\n                dropdown.value = defaultProgram.countryCode;\r\n\r\n                const flagSpan = displayFlag?.querySelector('#flag-emoji-' + fieldName);\r\n                if (flagSpan) {\r\n                    flagSpan.textContent = getCountryUnicodeFlag(defaultProgram.countryCode);\r\n                    flagSpan.setAttribute('aria-label', sanitizeHtml(defaultProgram.countryCode) + ' flag');\r\n                }\r\n\r\n                updateSmsLegalText(defaultProgram.countryCode, fieldName);\r\n                updatePlaceholder(defaultProgram.countryCode, fieldName);\r\n                updateCountryCodeInstruction(defaultProgram.countryCode, fieldName);\r\n            }\r\n\r\n\r\n            var smsNotRequiredRemoveCountryCodeEnabled = true;\r\n            var smsField = Object.values({ \"EMAIL\": { \"name\": \"EMAIL\", \"label\": \"Email Address\", \"helper_text\": \"\", \"type\": \"email\", \"required\": true, \"audience_field_name\": \"Email Address\", \"merge_id\": 0, \"help_text_enabled\": false, \"enabled\": true, \"order\": 0, \"field_type\": \"merge\" }, \"FNAME\": { \"name\": \"FNAME\", \"label\": \"First Name\", \"helper_text\": \"\", \"type\": \"text\", \"required\": false, \"audience_field_name\": \"First Name\", \"merge_id\": 1, \"help_text_enabled\": false, \"enabled\": true, \"order\": 1, \"field_type\": \"merge\" }, \"LNAME\": { \"name\": \"LNAME\", \"label\": \"Last Name\", \"helper_text\": \"\", \"type\": \"text\", \"required\": false, \"audience_field_name\": \"Last Name\", \"merge_id\": 2, \"help_text_enabled\": false, \"enabled\": true, \"order\": 2, \"field_type\": \"merge\" }, \"PHONE\": { \"name\": \"PHONE\", \"label\": \"Phone Number\", \"helper_text\": \"\", \"type\": \"phone\", \"required\": false, \"audience_field_name\": \"Phone Number\", \"phoneformat\": \"\", \"merge_id\": 4, \"help_text_enabled\": false, \"enabled\": true, \"order\": 3, \"field_type\": \"merge\" }, \"MMERGE7\": { \"name\": \"MMERGE7\", \"label\": \"What Expected Package are You Looking For?\", \"helper_text\": \"\", \"type\": \"dropdown\", \"required\": false, \"audience_field_name\": \"What Expected Package are You Looking For?\", \"choices\": [{ \"value\": \"Wedding\", \"label\": \"Wedding\" }, { \"value\": \"Wedding + Lakeside Retreats\", \"label\": \"Wedding + Lakeside Retreats\" }, { \"value\": \"Engagement Party\", \"label\": \"Engagement Party\" }, { \"value\": \"Others\", \"label\": \"Others\" }], \"merge_id\": 7, \"help_text_enabled\": false, \"enabled\": true, \"order\": 4, \"field_type\": \"merge\" }, \"MMERGE9\": { \"name\": \"MMERGE9\", \"label\": \"Description\", \"helper_text\": \"\", \"type\": \"text\", \"required\": false, \"audience_field_name\": \"Description\", \"merge_id\": 9, \"help_text_enabled\": false, \"enabled\": true, \"order\": 5, \"field_type\": \"merge\" }, \"MMERGE8\": { \"name\": \"MMERGE8\", \"label\": \"Propose Wedding Date\", \"helper_text\": \"\", \"type\": \"date\", \"required\": false, \"audience_field_name\": \"Propose Wedding Date\", \"dateformat\": \"DD\/MM\/YYYY\", \"merge_id\": 8, \"help_text_enabled\": false, \"enabled\": true, \"order\": 6, \"field_type\": \"merge\" }, \"MMERGE10\": { \"name\": \"MMERGE10\", \"label\": \"Expected Number of Guests?\", \"helper_text\": \"\", \"type\": \"dropdown\", \"required\": false, \"audience_field_name\": \"Expected Number of Guests?\", \"choices\": [{ \"value\": \"1 - 50\", \"label\": \"1 - 50\" }, { \"value\": \"51 - 100\", \"label\": \"51 - 100\" }], \"merge_id\": 10, \"help_text_enabled\": false, \"enabled\": true, \"order\": 7, \"field_type\": \"merge\" }, \"ADDRESS\": { \"name\": \"ADDRESS\", \"label\": \"Address\", \"helper_text\": \"\", \"type\": \"address\", \"required\": false, \"audience_field_name\": \"Address\", \"enabled\": false, \"order\": null, \"field_type\": \"merge\", \"merge_id\": 3, \"countries\": { \"2\": \"Albania\", \"3\": \"Algeria\", \"4\": \"Andorra\", \"5\": \"Angola\", \"6\": \"Argentina\", \"7\": \"Armenia\", \"8\": \"Australia\", \"9\": \"Austria\", \"10\": \"Azerbaijan\", \"11\": \"Bahamas\", \"12\": \"Bahrain\", \"13\": \"Bangladesh\", \"14\": \"Barbados\", \"15\": \"Belarus\", \"16\": \"Belgium\", \"17\": \"Belize\", \"18\": \"Benin\", \"19\": \"Bermuda\", \"20\": \"Bhutan\", \"21\": \"Bolivia\", \"22\": \"Bosnia and Herzegovina\", \"23\": \"Botswana\", \"24\": \"Brazil\", \"25\": \"Bulgaria\", \"26\": \"Burkina Faso\", \"27\": \"Burundi\", \"28\": \"Cambodia\", \"29\": \"Cameroon\", \"30\": \"Canada\", \"31\": \"Cape Verde\", \"32\": \"Cayman Islands\", \"33\": \"Central African Republic\", \"34\": \"Chad\", \"35\": \"Chile\", \"36\": \"China\", \"37\": \"Colombia\", \"38\": \"Congo\", \"40\": \"Croatia\", \"41\": \"Cyprus\", \"42\": \"Czech Republic\", \"43\": \"Denmark\", \"44\": \"Djibouti\", \"45\": \"Ecuador\", \"46\": \"Egypt\", \"47\": \"El Salvador\", \"48\": \"Equatorial Guinea\", \"49\": \"Eritrea\", \"50\": \"Estonia\", \"51\": \"Ethiopia\", \"52\": \"Fiji\", \"53\": \"Finland\", \"54\": \"France\", \"56\": \"Gabon\", \"57\": \"Gambia\", \"58\": \"Georgia\", \"59\": \"Germany\", \"60\": \"Ghana\", \"61\": \"Greece\", \"62\": \"Guam\", \"63\": \"Guinea\", \"64\": \"Guinea-Bissau\", \"65\": \"Guyana\", \"66\": \"Honduras\", \"67\": \"Hong Kong\", \"68\": \"Hungary\", \"69\": \"Iceland\", \"70\": \"India\", \"71\": \"Indonesia\", \"74\": \"Ireland\", \"75\": \"Israel\", \"76\": \"Italy\", \"78\": \"Japan\", \"79\": \"Jordan\", \"80\": \"Kazakhstan\", \"81\": \"Kenya\", \"82\": \"Kuwait\", \"83\": \"Kyrgyzstan\", \"84\": \"Lao People's Democratic Republic\", \"85\": \"Latvia\", \"86\": \"Lebanon\", \"87\": \"Lesotho\", \"88\": \"Liberia\", \"90\": \"Liechtenstein\", \"91\": \"Lithuania\", \"92\": \"Luxembourg\", \"93\": \"Macedonia\", \"94\": \"Madagascar\", \"95\": \"Malawi\", \"96\": \"Malaysia\", \"97\": \"Maldives\", \"98\": \"Mali\", \"99\": \"Malta\", \"100\": \"Mauritania\", \"101\": \"Mexico\", \"102\": \"Moldova\", \"103\": \"Monaco\", \"104\": \"Mongolia\", \"105\": \"Morocco\", \"106\": \"Mozambique\", \"107\": \"Namibia\", \"108\": \"Nepal\", \"109\": \"Netherlands\", \"110\": \"Netherlands Antilles\", \"111\": \"New Zealand\", \"112\": \"Nicaragua\", \"113\": \"Niger\", \"114\": \"Nigeria\", \"116\": \"Norway\", \"117\": \"Oman\", \"118\": \"Pakistan\", \"119\": \"Panama\", \"120\": \"Paraguay\", \"121\": \"Peru\", \"122\": \"Philippines\", \"123\": \"Poland\", \"124\": \"Portugal\", \"126\": \"Qatar\", \"127\": \"Reunion\", \"128\": \"Romania\", \"129\": \"Russia\", \"130\": \"Rwanda\", \"132\": \"Samoa (Independent)\", \"133\": \"Saudi Arabia\", \"134\": \"Senegal\", \"135\": \"Seychelles\", \"136\": \"Sierra Leone\", \"137\": \"Singapore\", \"138\": \"Slovakia\", \"139\": \"Slovenia\", \"140\": \"Somalia\", \"141\": \"South Africa\", \"142\": \"South Korea\", \"143\": \"Spain\", \"144\": \"Sri Lanka\", \"146\": \"Suriname\", \"147\": \"Swaziland\", \"148\": \"Sweden\", \"149\": \"Switzerland\", \"152\": \"Taiwan\", \"153\": \"Tanzania\", \"154\": \"Thailand\", \"155\": \"Togo\", \"156\": \"Tunisia\", \"157\": \"Turkiye\", \"158\": \"Turkmenistan\", \"159\": \"Uganda\", \"161\": \"Ukraine\", \"162\": \"United Arab Emirates\", \"163\": \"Uruguay\", \"164\": \"USA\", \"165\": \"Uzbekistan\", \"166\": \"Vatican City State (Holy See)\", \"167\": \"Venezuela\", \"168\": \"Vietnam\", \"169\": \"Virgin Islands (British)\", \"170\": \"Yemen\", \"173\": \"Zambia\", \"174\": \"Zimbabwe\", \"175\": \"Antigua And Barbuda\", \"176\": \"Anguilla\", \"178\": \"American Samoa\", \"179\": \"Aruba\", \"180\": \"Brunei Darussalam\", \"181\": \"Bouvet Island\", \"183\": \"Cook Islands\", \"185\": \"Christmas Island\", \"187\": \"Dominican Republic\", \"188\": \"Western Sahara\", \"189\": \"Falkland Islands\", \"191\": \"Faroe Islands\", \"192\": \"Grenada\", \"193\": \"French Guiana\", \"194\": \"Gibraltar\", \"195\": \"Greenland\", \"196\": \"Guadeloupe\", \"198\": \"Guatemala\", \"200\": \"Haiti\", \"202\": \"Jamaica\", \"203\": \"Kiribati\", \"204\": \"Comoros\", \"205\": \"Saint Kitts and Nevis\", \"206\": \"Saint Lucia\", \"207\": \"Marshall Islands\", \"208\": \"Macau\", \"210\": \"Martinique\", \"212\": \"Mauritius\", \"213\": \"New Caledonia\", \"214\": \"Norfolk Island\", \"215\": \"Nauru\", \"217\": \"Niue\", \"219\": \"Papua New Guinea\", \"221\": \"Pitcairn\", \"222\": \"Palau\", \"223\": \"Solomon Islands\", \"225\": \"Svalbard and Jan Mayen Islands\", \"227\": \"San Marino\", \"232\": \"Tonga\", \"233\": \"Timor-Leste\", \"234\": \"Trinidad and Tobago\", \"235\": \"Tuvalu\", \"237\": \"Saint Vincent and the Grenadines\", \"238\": \"Virgin Islands (U.S.)\", \"239\": \"Vanuatu\", \"241\": \"Mayotte\", \"242\": \"Myanmar\", \"255\": \"Sao Tome and Principe\", \"257\": \"South Georgia and the South Sandwich Islands\", \"260\": \"Tajikistan\", \"262\": \"United Kingdom\", \"268\": \"Costa Rica\", \"270\": \"Guernsey\", \"272\": \"North Korea\", \"274\": \"Afghanistan\", \"275\": \"Cote D'Ivoire\", \"276\": \"Cuba\", \"277\": \"French Polynesia\", \"278\": \"Iran\", \"279\": \"Iraq\", \"281\": \"Libya\", \"282\": \"Palestine\", \"285\": \"Syria\", \"286\": \"Aaland Islands\", \"287\": \"Turks & Caicos Islands\", \"288\": \"Jersey  (Channel Islands)\", \"289\": \"Dominica\", \"290\": \"Montenegro\", \"293\": \"Sudan\", \"294\": \"Montserrat\", \"298\": \"Curacao\", \"302\": \"Sint Maarten\", \"311\": \"South Sudan\", \"315\": \"Republic of Kosovo\", \"318\": \"Congo, Democratic Republic of the\", \"323\": \"Isle of Man\", \"324\": \"Saint Martin\", \"325\": \"Bonaire, Saint Eustatius and Saba\", \"326\": \"Serbia\" }, \"defaultcountry\": 164 }, \"BIRTHDAY\": { \"name\": \"BIRTHDAY\", \"label\": \"Birthday\", \"helper_text\": \"\", \"type\": \"birthday\", \"required\": false, \"audience_field_name\": \"Birthday\", \"dateformat\": \"MM\/DD\", \"enabled\": false, \"order\": null, \"field_type\": \"merge\", \"merge_id\": 5 }, \"COMPANY\": { \"name\": \"COMPANY\", \"label\": \"Company\", \"helper_text\": \"\", \"type\": \"text\", \"required\": false, \"audience_field_name\": \"Company\", \"enabled\": false, \"order\": null, \"field_type\": \"merge\", \"merge_id\": 6 } }).find(function (f) { return f.name === fieldName && f.type === 'smsphone'; });\r\n            var isRequired = smsField ? smsField.required : false;\r\n            var shouldAppendCountryCode = smsNotRequiredRemoveCountryCodeEnabled ? isRequired : true;\r\n\r\n            var phoneInput = document.querySelector('#mce-' + fieldName);\r\n            if (phoneInput && defaultProgram.countryCallingCode && shouldAppendCountryCode) {\r\n                phoneInput.value = defaultProgram.countryCallingCode;\r\n            }\r\n\r\n\r\n\r\n            displayFlag?.addEventListener('click', function (e) {\r\n                dropdown.focus();\r\n            });\r\n\r\n\r\n            dropdown?.addEventListener('change', function () {\r\n                const selectedCountry = this.value;\r\n\r\n                if (!selectedCountry || typeof selectedCountry !== 'string') {\r\n                    return;\r\n                }\r\n\r\n                const flagSpan = displayFlag?.querySelector('#flag-emoji-' + fieldName);\r\n                if (flagSpan) {\r\n                    flagSpan.textContent = getCountryUnicodeFlag(selectedCountry);\r\n                    flagSpan.setAttribute('aria-label', sanitizeHtml(selectedCountry) + ' flag');\r\n                }\r\n\r\n\r\n                const selectedProgram = window.MC?.smsPhoneData?.programs.find(function (program) {\r\n                    return program && program.countryCode === selectedCountry;\r\n                });\r\n\r\n                var smsNotRequiredRemoveCountryCodeEnabled = true;\r\n                var smsField = Object.values({ \"EMAIL\": { \"name\": \"EMAIL\", \"label\": \"Email Address\", \"helper_text\": \"\", \"type\": \"email\", \"required\": true, \"audience_field_name\": \"Email Address\", \"merge_id\": 0, \"help_text_enabled\": false, \"enabled\": true, \"order\": 0, \"field_type\": \"merge\" }, \"FNAME\": { \"name\": \"FNAME\", \"label\": \"First Name\", \"helper_text\": \"\", \"type\": \"text\", \"required\": false, \"audience_field_name\": \"First Name\", \"merge_id\": 1, \"help_text_enabled\": false, \"enabled\": true, \"order\": 1, \"field_type\": \"merge\" }, \"LNAME\": { \"name\": \"LNAME\", \"label\": \"Last Name\", \"helper_text\": \"\", \"type\": \"text\", \"required\": false, \"audience_field_name\": \"Last Name\", \"merge_id\": 2, \"help_text_enabled\": false, \"enabled\": true, \"order\": 2, \"field_type\": \"merge\" }, \"PHONE\": { \"name\": \"PHONE\", \"label\": \"Phone Number\", \"helper_text\": \"\", \"type\": \"phone\", \"required\": false, \"audience_field_name\": \"Phone Number\", \"phoneformat\": \"\", \"merge_id\": 4, \"help_text_enabled\": false, \"enabled\": true, \"order\": 3, \"field_type\": \"merge\" }, \"MMERGE7\": { \"name\": \"MMERGE7\", \"label\": \"What Expected Package are You Looking For?\", \"helper_text\": \"\", \"type\": \"dropdown\", \"required\": false, \"audience_field_name\": \"What Expected Package are You Looking For?\", \"choices\": [{ \"value\": \"Wedding\", \"label\": \"Wedding\" }, { \"value\": \"Wedding + Lakeside Retreats\", \"label\": \"Wedding + Lakeside Retreats\" }, { \"value\": \"Engagement Party\", \"label\": \"Engagement Party\" }, { \"value\": \"Others\", \"label\": \"Others\" }], \"merge_id\": 7, \"help_text_enabled\": false, \"enabled\": true, \"order\": 4, \"field_type\": \"merge\" }, \"MMERGE9\": { \"name\": \"MMERGE9\", \"label\": \"Description\", \"helper_text\": \"\", \"type\": \"text\", \"required\": false, \"audience_field_name\": \"Description\", \"merge_id\": 9, \"help_text_enabled\": false, \"enabled\": true, \"order\": 5, \"field_type\": \"merge\" }, \"MMERGE8\": { \"name\": \"MMERGE8\", \"label\": \"Propose Wedding Date\", \"helper_text\": \"\", \"type\": \"date\", \"required\": false, \"audience_field_name\": \"Propose Wedding Date\", \"dateformat\": \"DD\/MM\/YYYY\", \"merge_id\": 8, \"help_text_enabled\": false, \"enabled\": true, \"order\": 6, \"field_type\": \"merge\" }, \"MMERGE10\": { \"name\": \"MMERGE10\", \"label\": \"Expected Number of Guests?\", \"helper_text\": \"\", \"type\": \"dropdown\", \"required\": false, \"audience_field_name\": \"Expected Number of Guests?\", \"choices\": [{ \"value\": \"1 - 50\", \"label\": \"1 - 50\" }, { \"value\": \"51 - 100\", \"label\": \"51 - 100\" }], \"merge_id\": 10, \"help_text_enabled\": false, \"enabled\": true, \"order\": 7, \"field_type\": \"merge\" }, \"ADDRESS\": { \"name\": \"ADDRESS\", \"label\": \"Address\", \"helper_text\": \"\", \"type\": \"address\", \"required\": false, \"audience_field_name\": \"Address\", \"enabled\": false, \"order\": null, \"field_type\": \"merge\", \"merge_id\": 3, \"countries\": { \"2\": \"Albania\", \"3\": \"Algeria\", \"4\": \"Andorra\", \"5\": \"Angola\", \"6\": \"Argentina\", \"7\": \"Armenia\", \"8\": \"Australia\", \"9\": \"Austria\", \"10\": \"Azerbaijan\", \"11\": \"Bahamas\", \"12\": \"Bahrain\", \"13\": \"Bangladesh\", \"14\": \"Barbados\", \"15\": \"Belarus\", \"16\": \"Belgium\", \"17\": \"Belize\", \"18\": \"Benin\", \"19\": \"Bermuda\", \"20\": \"Bhutan\", \"21\": \"Bolivia\", \"22\": \"Bosnia and Herzegovina\", \"23\": \"Botswana\", \"24\": \"Brazil\", \"25\": \"Bulgaria\", \"26\": \"Burkina Faso\", \"27\": \"Burundi\", \"28\": \"Cambodia\", \"29\": \"Cameroon\", \"30\": \"Canada\", \"31\": \"Cape Verde\", \"32\": \"Cayman Islands\", \"33\": \"Central African Republic\", \"34\": \"Chad\", \"35\": \"Chile\", \"36\": \"China\", \"37\": \"Colombia\", \"38\": \"Congo\", \"40\": \"Croatia\", \"41\": \"Cyprus\", \"42\": \"Czech Republic\", \"43\": \"Denmark\", \"44\": \"Djibouti\", \"45\": \"Ecuador\", \"46\": \"Egypt\", \"47\": \"El Salvador\", \"48\": \"Equatorial Guinea\", \"49\": \"Eritrea\", \"50\": \"Estonia\", \"51\": \"Ethiopia\", \"52\": \"Fiji\", \"53\": \"Finland\", \"54\": \"France\", \"56\": \"Gabon\", \"57\": \"Gambia\", \"58\": \"Georgia\", \"59\": \"Germany\", \"60\": \"Ghana\", \"61\": \"Greece\", \"62\": \"Guam\", \"63\": \"Guinea\", \"64\": \"Guinea-Bissau\", \"65\": \"Guyana\", \"66\": \"Honduras\", \"67\": \"Hong Kong\", \"68\": \"Hungary\", \"69\": \"Iceland\", \"70\": \"India\", \"71\": \"Indonesia\", \"74\": \"Ireland\", \"75\": \"Israel\", \"76\": \"Italy\", \"78\": \"Japan\", \"79\": \"Jordan\", \"80\": \"Kazakhstan\", \"81\": \"Kenya\", \"82\": \"Kuwait\", \"83\": \"Kyrgyzstan\", \"84\": \"Lao People's Democratic Republic\", \"85\": \"Latvia\", \"86\": \"Lebanon\", \"87\": \"Lesotho\", \"88\": \"Liberia\", \"90\": \"Liechtenstein\", \"91\": \"Lithuania\", \"92\": \"Luxembourg\", \"93\": \"Macedonia\", \"94\": \"Madagascar\", \"95\": \"Malawi\", \"96\": \"Malaysia\", \"97\": \"Maldives\", \"98\": \"Mali\", \"99\": \"Malta\", \"100\": \"Mauritania\", \"101\": \"Mexico\", \"102\": \"Moldova\", \"103\": \"Monaco\", \"104\": \"Mongolia\", \"105\": \"Morocco\", \"106\": \"Mozambique\", \"107\": \"Namibia\", \"108\": \"Nepal\", \"109\": \"Netherlands\", \"110\": \"Netherlands Antilles\", \"111\": \"New Zealand\", \"112\": \"Nicaragua\", \"113\": \"Niger\", \"114\": \"Nigeria\", \"116\": \"Norway\", \"117\": \"Oman\", \"118\": \"Pakistan\", \"119\": \"Panama\", \"120\": \"Paraguay\", \"121\": \"Peru\", \"122\": \"Philippines\", \"123\": \"Poland\", \"124\": \"Portugal\", \"126\": \"Qatar\", \"127\": \"Reunion\", \"128\": \"Romania\", \"129\": \"Russia\", \"130\": \"Rwanda\", \"132\": \"Samoa (Independent)\", \"133\": \"Saudi Arabia\", \"134\": \"Senegal\", \"135\": \"Seychelles\", \"136\": \"Sierra Leone\", \"137\": \"Singapore\", \"138\": \"Slovakia\", \"139\": \"Slovenia\", \"140\": \"Somalia\", \"141\": \"South Africa\", \"142\": \"South Korea\", \"143\": \"Spain\", \"144\": \"Sri Lanka\", \"146\": \"Suriname\", \"147\": \"Swaziland\", \"148\": \"Sweden\", \"149\": \"Switzerland\", \"152\": \"Taiwan\", \"153\": \"Tanzania\", \"154\": \"Thailand\", \"155\": \"Togo\", \"156\": \"Tunisia\", \"157\": \"Turkiye\", \"158\": \"Turkmenistan\", \"159\": \"Uganda\", \"161\": \"Ukraine\", \"162\": \"United Arab Emirates\", \"163\": \"Uruguay\", \"164\": \"USA\", \"165\": \"Uzbekistan\", \"166\": \"Vatican City State (Holy See)\", \"167\": \"Venezuela\", \"168\": \"Vietnam\", \"169\": \"Virgin Islands (British)\", \"170\": \"Yemen\", \"173\": \"Zambia\", \"174\": \"Zimbabwe\", \"175\": \"Antigua And Barbuda\", \"176\": \"Anguilla\", \"178\": \"American Samoa\", \"179\": \"Aruba\", \"180\": \"Brunei Darussalam\", \"181\": \"Bouvet Island\", \"183\": \"Cook Islands\", \"185\": \"Christmas Island\", \"187\": \"Dominican Republic\", \"188\": \"Western Sahara\", \"189\": \"Falkland Islands\", \"191\": \"Faroe Islands\", \"192\": \"Grenada\", \"193\": \"French Guiana\", \"194\": \"Gibraltar\", \"195\": \"Greenland\", \"196\": \"Guadeloupe\", \"198\": \"Guatemala\", \"200\": \"Haiti\", \"202\": \"Jamaica\", \"203\": \"Kiribati\", \"204\": \"Comoros\", \"205\": \"Saint Kitts and Nevis\", \"206\": \"Saint Lucia\", \"207\": \"Marshall Islands\", \"208\": \"Macau\", \"210\": \"Martinique\", \"212\": \"Mauritius\", \"213\": \"New Caledonia\", \"214\": \"Norfolk Island\", \"215\": \"Nauru\", \"217\": \"Niue\", \"219\": \"Papua New Guinea\", \"221\": \"Pitcairn\", \"222\": \"Palau\", \"223\": \"Solomon Islands\", \"225\": \"Svalbard and Jan Mayen Islands\", \"227\": \"San Marino\", \"232\": \"Tonga\", \"233\": \"Timor-Leste\", \"234\": \"Trinidad and Tobago\", \"235\": \"Tuvalu\", \"237\": \"Saint Vincent and the Grenadines\", \"238\": \"Virgin Islands (U.S.)\", \"239\": \"Vanuatu\", \"241\": \"Mayotte\", \"242\": \"Myanmar\", \"255\": \"Sao Tome and Principe\", \"257\": \"South Georgia and the South Sandwich Islands\", \"260\": \"Tajikistan\", \"262\": \"United Kingdom\", \"268\": \"Costa Rica\", \"270\": \"Guernsey\", \"272\": \"North Korea\", \"274\": \"Afghanistan\", \"275\": \"Cote D'Ivoire\", \"276\": \"Cuba\", \"277\": \"French Polynesia\", \"278\": \"Iran\", \"279\": \"Iraq\", \"281\": \"Libya\", \"282\": \"Palestine\", \"285\": \"Syria\", \"286\": \"Aaland Islands\", \"287\": \"Turks & Caicos Islands\", \"288\": \"Jersey  (Channel Islands)\", \"289\": \"Dominica\", \"290\": \"Montenegro\", \"293\": \"Sudan\", \"294\": \"Montserrat\", \"298\": \"Curacao\", \"302\": \"Sint Maarten\", \"311\": \"South Sudan\", \"315\": \"Republic of Kosovo\", \"318\": \"Congo, Democratic Republic of the\", \"323\": \"Isle of Man\", \"324\": \"Saint Martin\", \"325\": \"Bonaire, Saint Eustatius and Saba\", \"326\": \"Serbia\" }, \"defaultcountry\": 164 }, \"BIRTHDAY\": { \"name\": \"BIRTHDAY\", \"label\": \"Birthday\", \"helper_text\": \"\", \"type\": \"birthday\", \"required\": false, \"audience_field_name\": \"Birthday\", \"dateformat\": \"MM\/DD\", \"enabled\": false, \"order\": null, \"field_type\": \"merge\", \"merge_id\": 5 }, \"COMPANY\": { \"name\": \"COMPANY\", \"label\": \"Company\", \"helper_text\": \"\", \"type\": \"text\", \"required\": false, \"audience_field_name\": \"Company\", \"enabled\": false, \"order\": null, \"field_type\": \"merge\", \"merge_id\": 6 } }).find(function (f) { return f.name === fieldName && f.type === 'smsphone'; });\r\n                var isRequired = smsField ? smsField.required : false;\r\n                var shouldAppendCountryCode = smsNotRequiredRemoveCountryCodeEnabled ? isRequired : true;\r\n\r\n                var phoneInput = document.querySelector('#mce-' + fieldName);\r\n                if (phoneInput && selectedProgram.countryCallingCode && shouldAppendCountryCode) {\r\n                    phoneInput.value = selectedProgram.countryCallingCode;\r\n                }\r\n\r\n\r\n                updateSmsLegalText(selectedCountry, fieldName);\r\n                updatePlaceholder(selectedCountry, fieldName);\r\n                updateCountryCodeInstruction(selectedCountry, fieldName);\r\n            });\r\n        }\r\n\r\n        \/\/ reCaptcha callback functions\r\n        function onRecaptchaSuccess(token) {\r\n            document.getElementById('recaptchaResponse').value = token;\r\n            \/\/ Enable submit button when reCaptcha is verified\r\n            document.getElementById('mc-embedded-subscribe').disabled = false;\r\n        }\r\n\r\n        function onRecaptchaExpired() {\r\n            document.getElementById('recaptchaResponse').value = '';\r\n            \/\/ Disable submit button when reCaptcha expires\r\n            document.getElementById('mc-embedded-subscribe').disabled = true;\r\n        }\r\n\r\n        function validateRecaptchaBeforeSubmit(event) {\r\n            \/\/ First check if required fields are filled\r\n            const emailInput = document.getElementById('mce-EMAIL');\r\n            if (!emailInput || !emailInput.value.trim()) {\r\n                event.preventDefault();\r\n                alert('Please fill in the Email Address field.');\r\n                return false;\r\n            }\r\n\r\n            \/\/ Check if reCaptcha response is empty\r\n            if (typeof grecaptcha !== 'undefined') {\r\n                const response = grecaptcha.getResponse();\r\n                if (!response || response.length === 0) {\r\n                    event.preventDefault();\r\n                    alert('Please verify that you are not a robot before submitting the form.');\r\n                    return false;\r\n                }\r\n            } else {\r\n                event.preventDefault();\r\n                alert('reCaptcha failed to load. Please refresh the page and try again.');\r\n                return false;\r\n            }\r\n\r\n            \/\/ All validations passed\r\n            return true;\r\n        }\r\n\r\n        document.addEventListener('DOMContentLoaded', function () {\r\n            const smsPhoneFields = document.querySelectorAll('[id^=\"country-select-\"]');\r\n\r\n            smsPhoneFields.forEach(function (dropdown) {\r\n                const fieldName = dropdown?.id.replace('country-select-', '');\r\n                initializeSmsPhoneDropdown(fieldName);\r\n            });\r\n        });\r\n    <\/script>\r\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Let\u2019s Start Planning Your Day Ready to host your wedding at one of the most romantic and unique venues in New Brunswick? Fill out the form below to check availability, request a tour, or begin customizing your event. Venue Request Form * indicates required Email Address * First Name Last Name Phone Number What Expected [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3636","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ogweddings.ca\/fr\/wp-json\/wp\/v2\/pages\/3636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ogweddings.ca\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ogweddings.ca\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ogweddings.ca\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ogweddings.ca\/fr\/wp-json\/wp\/v2\/comments?post=3636"}],"version-history":[{"count":10,"href":"https:\/\/www.ogweddings.ca\/fr\/wp-json\/wp\/v2\/pages\/3636\/revisions"}],"predecessor-version":[{"id":4843,"href":"https:\/\/www.ogweddings.ca\/fr\/wp-json\/wp\/v2\/pages\/3636\/revisions\/4843"}],"wp:attachment":[{"href":"https:\/\/www.ogweddings.ca\/fr\/wp-json\/wp\/v2\/media?parent=3636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}