{"id":6971,"date":"2023-06-05T16:32:14","date_gmt":"2023-06-05T20:32:14","guid":{"rendered":"https:\/\/yfc.ca\/highlands\/?page_id=6971"},"modified":"2023-06-05T16:32:14","modified_gmt":"2023-06-05T20:32:14","slug":"sponsor-youth-to-attend-campfire","status":"publish","type":"page","link":"https:\/\/yfc.ca\/highlands\/sponsor-youth-to-attend-campfire\/","title":{"rendered":"Sponsor Youth to Attend CampFire"},"content":{"rendered":"\t<section class=\"y-gravity-form white  guten-block\" >\r\n\t\t<div class=\"grid-narrow\">\r\n\t\t\t\t\t\t\t<h3 class=\"y-accordion--title y-color-responsive-text\">Sponsoring a Youth to Attend CampFire Makes a Difference<\/h3>\r\n\t\t\t\t\t\t<div class=\"y-gravity-form--inner\">\r\n\t\t\t\t<script type=\"text\/javascript\">\n\/* <![CDATA[ *\/\nvar gform;gform||(document.addEventListener(\"gform_main_scripts_loaded\",function(){gform.scriptsLoaded=!0}),document.addEventListener(\"gform\/theme\/scripts_loaded\",function(){gform.themeScriptsLoaded=!0}),window.addEventListener(\"DOMContentLoaded\",function(){gform.domLoaded=!0}),gform={domLoaded:!1,scriptsLoaded:!1,themeScriptsLoaded:!1,isFormEditor:()=>\"function\"==typeof InitializeEditor,callIfLoaded:function(o){return!(!gform.domLoaded||!gform.scriptsLoaded||!gform.themeScriptsLoaded&&!gform.isFormEditor()||(gform.isFormEditor()&&console.warn(\"The use of gform.initializeOnLoaded() is deprecated in the form editor context and will be removed in Gravity Forms 3.1.\"),o(),0))},initializeOnLoaded:function(o){gform.callIfLoaded(o)||(document.addEventListener(\"gform_main_scripts_loaded\",()=>{gform.scriptsLoaded=!0,gform.callIfLoaded(o)}),document.addEventListener(\"gform\/theme\/scripts_loaded\",()=>{gform.themeScriptsLoaded=!0,gform.callIfLoaded(o)}),window.addEventListener(\"DOMContentLoaded\",()=>{gform.domLoaded=!0,gform.callIfLoaded(o)}))},hooks:{action:{},filter:{}},addAction:function(o,r,e,t){gform.addHook(\"action\",o,r,e,t)},addFilter:function(o,r,e,t){gform.addHook(\"filter\",o,r,e,t)},doAction:function(o){gform.doHook(\"action\",o,arguments)},applyFilters:function(o){return gform.doHook(\"filter\",o,arguments)},removeAction:function(o,r){gform.removeHook(\"action\",o,r)},removeFilter:function(o,r,e){gform.removeHook(\"filter\",o,r,e)},addHook:function(o,r,e,t,n){null==gform.hooks[o][r]&&(gform.hooks[o][r]=[]);var d=gform.hooks[o][r];null==n&&(n=r+\"_\"+d.length),gform.hooks[o][r].push({tag:n,callable:e,priority:t=null==t?10:t})},doHook:function(r,o,e){var t;if(e=Array.prototype.slice.call(e,1),null!=gform.hooks[r][o]&&((o=gform.hooks[r][o]).sort(function(o,r){return o.priority-r.priority}),o.forEach(function(o){\"function\"!=typeof(t=o.callable)&&(t=window[t]),\"action\"==r?t.apply(null,e):e[0]=t.apply(null,e)})),\"filter\"==r)return e[0]},removeHook:function(o,r,t,n){var e;null!=gform.hooks[o][r]&&(e=(e=gform.hooks[o][r]).filter(function(o,r,e){return!!(null!=n&&n!=o.tag||null!=t&&t!=o.priority)}),gform.hooks[o][r]=e)}});\n\/* ]]> *\/\n<\/script>\n\n                <div class='gf_browser_gecko gform_wrapper gform_legacy_markup_wrapper gform-theme--no-framework' data-form-theme='legacy' data-form-index='0' id='gform_wrapper_34' style='display:none'><div id='gf_34' class='gform_anchor' tabindex='-1'><\/div><form method='post' enctype='multipart\/form-data' target='gform_ajax_frame_34' id='gform_34'  action='\/highlands\/wp-json\/wp\/v2\/pages\/6971#gf_34' data-formid='34' novalidate><div class='gf_invisible ginput_recaptchav3' data-sitekey='6Lfq1YsaAAAAAIlCN1-uzuUjef83MGbopf9xeWCd' data-tabindex='0'><input id=\"input_9ee94d3389a4db18d5fa523a66b3ff56\" class=\"gfield_recaptcha_response\" type=\"hidden\" name=\"input_9ee94d3389a4db18d5fa523a66b3ff56\" value=\"\"\/><\/div>\n                        <div class='gform-body gform_body'><ul id='gform_fields_34' class='gform_fields top_label form_sublabel_below description_above validation_below'><li id=\"field_34_146\" class=\"gfield gfield--type-honeypot gform_validation_container field_sublabel_below gfield--has-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_34_146'>Email<\/label><div class='gfield_description' id='gfield_description_34_146'>This field is for validation purposes and should be left unchanged.<\/div><div class='ginput_container'><input name='input_146' id='input_34_146' type='text' value='' autocomplete='new-password'\/><\/div><\/li><li id=\"field_34_8\" class=\"gfield gfield--type-name gfield--input-type-name gfield_contains_required field_sublabel_hidden_label gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label gfield_label_before_complex' >Your Name (First &amp; Last)<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_complex ginput_container ginput_container--name no_prefix has_first_name no_middle_name has_last_name no_suffix gf_name_has_2 ginput_container_name gform-grid-row' id='input_34_8'>\n                            \n                            <span id='input_34_8_3_container' class='name_first gform-grid-col gform-grid-col--size-auto' >\n                                                    <input type='text' name='input_8.3' id='input_34_8_3' value=''   aria-required='true'     \/>\n                                                    <label for='input_34_8_3' class='gform-field-label gform-field-label--type-sub hidden_sub_label screen-reader-text'>First<\/label>\n                                                <\/span>\n                            \n                            <span id='input_34_8_6_container' class='name_last gform-grid-col gform-grid-col--size-auto' >\n                                                    <input type='text' name='input_8.6' id='input_34_8_6' value=''   aria-required='true'     \/>\n                                                    <label for='input_34_8_6' class='gform-field-label gform-field-label--type-sub hidden_sub_label screen-reader-text'>Last<\/label>\n                                                <\/span>\n                            \n                        <\/div><\/li><li id=\"field_34_4\" class=\"gfield gfield--type-email gfield--input-type-email gfield_contains_required field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_34_4'>Your Email<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_email'>\n                            <input name='input_4' id='input_34_4' type='email' value='' class='medium'    aria-required=\"true\" aria-invalid=\"false\"  \/>\n                        <\/div><\/li><li id=\"field_34_3\" class=\"gfield gfield--type-phone gfield--input-type-phone gfield--width-full gfield_contains_required field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_34_3'>Your Phone Number<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_phone'><input name='input_3' id='input_34_3' type='tel' value='' class='medium'   aria-required=\"true\" aria-invalid=\"false\"   \/><\/div><\/li><li id=\"field_34_2\" class=\"gfield gfield--type-address gfield--input-type-address gfield--width-full gfield_contains_required field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label gfield_label_before_complex' >Your Address<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label>    \n                    <div class='ginput_complex ginput_container has_street has_street2 has_city has_state has_zip ginput_container_address gform-grid-row' id='input_34_2' >\n                         <span class='ginput_full address_line_1 ginput_address_line_1 gform-grid-col' id='input_34_2_1_container' >\n                                        <input type='text' name='input_2.1' id='input_34_2_1' value=''    aria-required='true'    \/>\n                                        <label for='input_34_2_1' id='input_34_2_1_label' class='gform-field-label gform-field-label--type-sub '>Street Address<\/label>\n                                    <\/span><span class='ginput_full address_line_2 ginput_address_line_2 gform-grid-col' id='input_34_2_2_container' >\n                                        <input type='text' name='input_2.2' id='input_34_2_2' value=''     aria-required='false'   \/>\n                                        <label for='input_34_2_2' id='input_34_2_2_label' class='gform-field-label gform-field-label--type-sub '>Address Line 2<\/label>\n                                    <\/span><span class='ginput_left address_city ginput_address_city gform-grid-col' id='input_34_2_3_container' >\n                                    <input type='text' name='input_2.3' id='input_34_2_3' value=''    aria-required='true'    \/>\n                                    <label for='input_34_2_3' id='input_34_2_3_label' class='gform-field-label gform-field-label--type-sub '>City<\/label>\n                                 <\/span><span class='ginput_right address_state ginput_address_state gform-grid-col' id='input_34_2_4_container' >\n                                        <select name='input_2.4' id='input_34_2_4'     aria-required='true'    ><option value='' ><\/option><option value='Alberta' >Alberta<\/option><option value='British Columbia' >British Columbia<\/option><option value='Manitoba' >Manitoba<\/option><option value='New Brunswick' >New Brunswick<\/option><option value='Newfoundland and Labrador' >Newfoundland and Labrador<\/option><option value='Northwest Territories' >Northwest Territories<\/option><option value='Nova Scotia' >Nova Scotia<\/option><option value='Nunavut' >Nunavut<\/option><option value='Ontario' selected='selected'>Ontario<\/option><option value='Prince Edward Island' >Prince Edward Island<\/option><option value='Quebec' >Quebec<\/option><option value='Saskatchewan' >Saskatchewan<\/option><option value='Yukon' >Yukon<\/option><\/select>\n                                        <label for='input_34_2_4' id='input_34_2_4_label' class='gform-field-label gform-field-label--type-sub '>Province<\/label>\n                                      <\/span><span class='ginput_left address_zip ginput_address_zip gform-grid-col' id='input_34_2_5_container' >\n                                    <input type='text' name='input_2.5' id='input_34_2_5' value=''    aria-required='true'    \/>\n                                    <label for='input_34_2_5' id='input_34_2_5_label' class='gform-field-label gform-field-label--type-sub '>Postal Code<\/label>\n                                <\/span><input type='hidden' class='gform_hidden' name='input_2.6' id='input_34_2_6' value='Canada' \/>\n                    <div class='gf_clear gf_clear_complex'><\/div>\n                <\/div><\/li><li id=\"field_34_91\" class=\"gfield gfield--type-checkbox gfield--type-choice gfield--input-type-checkbox gfield--width-full gfield_contains_required field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label gfield_label_before_complex' >Please Select<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_checkbox'><ul class='gfield_checkbox' id='input_34_91'><li class='gchoice gchoice_34_91_1'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_91.1' type='checkbox'  value='I will sponsor for the full camp fee of $110.'  id='choice_34_91_1'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_91_1' id='label_34_91_1' class='gform-field-label gform-field-label--type-inline'>I will sponsor for the full camp fee of $110.<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_34_91_2'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_91.2' type='checkbox'  value='I would like to sponsor a different amount.'  id='choice_34_91_2'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_91_2' id='label_34_91_2' class='gform-field-label gform-field-label--type-inline'>I would like to sponsor a different amount.<\/label>\n\t\t\t\t\t\t\t<\/li><\/ul><\/div><\/li><li id=\"field_34_143\" class=\"gfield gfield--type-html gfield--input-type-html gfield--width-full gfield_html gfield_html_formatted gfield_no_follows_desc field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><\/li><li id=\"field_34_142\" class=\"gfield gfield--type-product gfield--input-type-price gfield--width-full gfield_price gfield_price_34_142 gfield_product_34_142 gfield_contains_required field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_34_142'>Please indicate your sponsorship amount here:<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_product_price'>\n\t\t\t\t\t<input name='input_142' id='input_34_142' type='text' value='' class='medium ginput_amount'   aria-required=\"true\" aria-invalid=\"false\"  \/>\n\t\t\t\t<\/div><\/li><li id=\"field_34_36\" class=\"gfield gfield--type-total gfield--input-type-total gfield--width-full gfield_price gfield_price_34_ gfield_total gfield_total_34_ field_sublabel_below gfield--has-description field_description_above field_validation_below gfield_visibility_visible\"  aria-atomic=\"true\" aria-live=\"polite\" ><label class='gfield_label gform-field-label' for='input_34_36'>Total<\/label><div class='gfield_description' id='gfield_description_34_36'>Thank you for making this contribution to the ministry of Youth Unlimited YFC Highlands.<\/div><div class='ginput_container ginput_container_total'>\n\t\t\t\t\t\t\t<span class='ginput_total ginput_total_34'>$ 0.00 CAD<\/span>\n\t\t\t\t\t\t\t<input type='hidden' name='input_36' id='input_34_36' class='gform_hidden'\/>\n\t\t\t\t\t\t<\/div><\/li><li id=\"field_34_39\" class=\"gfield gfield--type-select gfield--input-type-select gfield_contains_required field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_34_39'>Payment method:<span class=\"gfield_required\"><span class=\"gfield_required gfield_required_asterisk\">*<\/span><\/span><\/label><div class='ginput_container ginput_container_select'><select name='input_39' id='input_34_39' class='medium gfield_select'    aria-required=\"true\" aria-invalid=\"false\" ><option value='' ><\/option><option value='Credit Card\/Paypal' >Credit Card\/Paypal<\/option><option value='E-Transfer' >E-Transfer<\/option><option value='Cheque payable to Highlands Youth for Christ' >Cheque payable to Highlands Youth for Christ<\/option><\/select><\/div><\/li><li id=\"field_34_52\" class=\"gfield gfield--type-html gfield--input-type-html gfield_html gfield_html_formatted gfield_no_follows_desc field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  >Send E-transfer Donations to :  \ngive@yfch.ca and include, a) CampFire and b) your name and contact information.<\/li><li id=\"field_34_144\" class=\"gfield gfield--type-checkbox gfield--type-choice gfield--input-type-checkbox gfield--width-full field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label gfield_label_before_complex' >Your community connection<\/label><div class='ginput_container ginput_container_checkbox'><ul class='gfield_checkbox' id='input_34_144'><li class='gchoice gchoice_34_144_1'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_144.1' type='checkbox'  value='Alliston'  id='choice_34_144_1'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_144_1' id='label_34_144_1' class='gform-field-label gform-field-label--type-inline'>Alliston<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_34_144_2'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_144.2' type='checkbox'  value='Collingwood'  id='choice_34_144_2'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_144_2' id='label_34_144_2' class='gform-field-label gform-field-label--type-inline'>Collingwood<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_34_144_3'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_144.3' type='checkbox'  value='Erin'  id='choice_34_144_3'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_144_3' id='label_34_144_3' class='gform-field-label gform-field-label--type-inline'>Erin<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_34_144_4'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_144.4' type='checkbox'  value='Fergus'  id='choice_34_144_4'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_144_4' id='label_34_144_4' class='gform-field-label gform-field-label--type-inline'>Fergus<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_34_144_5'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_144.5' type='checkbox'  value='Grand Valley'  id='choice_34_144_5'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_144_5' id='label_34_144_5' class='gform-field-label gform-field-label--type-inline'>Grand Valley<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_34_144_6'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_144.6' type='checkbox'  value='Huntsville'  id='choice_34_144_6'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_144_6' id='label_34_144_6' class='gform-field-label gform-field-label--type-inline'>Huntsville<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_34_144_7'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_144.7' type='checkbox'  value='Orangeville'  id='choice_34_144_7'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_144_7' id='label_34_144_7' class='gform-field-label gform-field-label--type-inline'>Orangeville<\/label>\n\t\t\t\t\t\t\t<\/li><li class='gchoice gchoice_34_144_8'>\n\t\t\t\t\t\t\t\t<input class='gfield-choice-input' name='input_144.8' type='checkbox'  value='Novar'  id='choice_34_144_8'   \/>\n\t\t\t\t\t\t\t\t<label for='choice_34_144_8' id='label_34_144_8' class='gform-field-label gform-field-label--type-inline'>Novar<\/label>\n\t\t\t\t\t\t\t<\/li><\/ul><\/div><\/li><li id=\"field_34_145\" class=\"gfield gfield--type-text gfield--input-type-text gfield--width-full field_sublabel_below gfield--no-description field_description_above field_validation_below gfield_visibility_visible\"  ><label class='gfield_label gform-field-label' for='input_34_145'>Name of youth (if known) that you&#039;d like your sponsorship to assist<\/label><div class='ginput_container ginput_container_text'><input name='input_145' id='input_34_145' type='text' value='' class='large'      aria-invalid=\"false\"   \/><\/div><\/li><\/ul><\/div>\n        <div class='gform-footer gform_footer top_label'> <input type='submit' id='gform_submit_button_34' class='gform_button button' onclick='gform.submission.handleButtonClick(this);' data-submission-type='submit' value='Submit'  \/> <input type='hidden' name='gform_ajax' value='form_id=34&amp;title=&amp;description=&amp;tabindex=0&amp;theme=legacy&amp;styles=[]&amp;hash=29533dd85d80224eadb3eb073e0ef71d' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submission_method' data-js='gform_submission_method_34' value='iframe' \/>\n            <input type='hidden' class='gform_hidden' name='gform_theme' data-js='gform_theme_34' id='gform_theme_34' value='legacy' \/>\n            <input type='hidden' class='gform_hidden' name='gform_style_settings' data-js='gform_style_settings_34' id='gform_style_settings_34' value='[]' \/>\n            <input type='hidden' class='gform_hidden' name='is_submit_34' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='34' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_currency' data-currency='CAD' value='y4utkaLAl5If+B6Yt1k14pQ\/8dAGikh6UikE5fzAUSAOF83p9d5iA1QuTGrKAj7Af3Pu\/fSoVjEkclOJU3XQnRQ+NCfwNf6oWHd5e\/qlv7mXsvE=' \/>\n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_34' value='WyJ7XCIxNDQuMVwiOlwiZWMyYzI3ZTg3OWNlZDk2NjA1YjUyMGVjZDhkZGM2ZTBcIixcIjE0NC4yXCI6XCIxODM0YzFkMDc0ZTQ0NTZmYzEwN2M5NjFkOTIzNTczY1wiLFwiMTQ0LjNcIjpcImEyNjEzOGRhMzI5OTAyNjEwNjI2NTA3ZGQ5OTE3MWE0XCIsXCIxNDQuNFwiOlwiMzEyMDJkZDcwM2QxNzZhNjM2MDU4NDExNDE3ZDU3NDdcIixcIjE0NC41XCI6XCI5NzE2YjY5MmViZjU1ZDRjZTQyMTA3NzYzNTQ5N2FlYlwiLFwiMTQ0LjZcIjpcImZjYzUwNDM4OTMwMGRlNTdlODAyYjdiN2UyZjM5MmI0XCIsXCIxNDQuN1wiOlwiYzBjZWViM2EwMTQzOWQ3ZWZhZWZjMTFkYmFlOTI3ODVcIixcIjE0NC44XCI6XCJkODg4MjQ3MDI1NWJmYTk2OWMxMmJkZWM4Njc4ZTViY1wifSIsIjM1MTJmYWU1NmY0MTcxYjM0NTY0YWE0NzE4OTMwNzVjIl0=' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_target_page_number_34' id='gform_target_page_number_34' value='0' \/>\n            <input type='hidden' autocomplete='off' class='gform_hidden' name='gform_source_page_number_34' id='gform_source_page_number_34' value='1' \/>\n            <input type='hidden' name='gform_field_values' value='' \/>\n            \n        <\/div>\n                        <\/form>\n                        <\/div>\n\t\t                <iframe style='display:none;width:0px;height:0px;' src='about:blank' name='gform_ajax_frame_34' id='gform_ajax_frame_34' title='This iframe contains the logic required to handle Ajax powered Gravity Forms.'><\/iframe>\n\t\t                <script type=\"text\/javascript\">\n\/* <![CDATA[ *\/\n gform.initializeOnLoaded( function() {gformInitSpinner( 34, 'https:\/\/yfc.ca\/highlands\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery('#gform_ajax_frame_34').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_34');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_34').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){form_content.find('form').css('opacity', 0);jQuery('#gform_wrapper_34').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_34').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_34').removeClass('gform_validation_error');}setTimeout( function() { \/* delay the scroll by 50 milliseconds to fix a bug in chrome *\/ jQuery(document).scrollTop(jQuery('#gform_wrapper_34').offset().top - mt); }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_34').val();gformInitSpinner( 34, 'https:\/\/yfc.ca\/highlands\/wp-content\/plugins\/gravityforms\/images\/spinner.svg', true );jQuery(document).trigger('gform_page_loaded', [34, current_page]);window['gf_submitting_34'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}jQuery('#gform_wrapper_34').replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery('#gf_34').offset().top - mt);jQuery(document).trigger('gform_confirmation_loaded', [34]);window['gf_submitting_34'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_34').text());}else{jQuery('#gform_34').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger(\"gform_pre_post_render\", [{ formId: \"34\", currentPage: \"current_page\", abort: function() { this.preventDefault(); } }]);        if (event && event.defaultPrevented) {                return;        }        const gformWrapperDiv = document.getElementById( \"gform_wrapper_34\" );        if ( gformWrapperDiv ) {            const visibilitySpan = document.createElement( \"span\" );            visibilitySpan.id = \"gform_visibility_test_34\";            gformWrapperDiv.insertAdjacentElement( \"afterend\", visibilitySpan );        }        const visibilityTestDiv = document.getElementById( \"gform_visibility_test_34\" );        let postRenderFired = false;        function triggerPostRender() {            if ( postRenderFired ) {                return;            }            postRenderFired = true;            gform.core.triggerPostRenderEvents( 34, current_page );            if ( visibilityTestDiv ) {                visibilityTestDiv.parentNode.removeChild( visibilityTestDiv );            }        }        function debounce( func, wait, immediate ) {            var timeout;            return function() {                var context = this, args = arguments;                var later = function() {                    timeout = null;                    if ( !immediate ) func.apply( context, args );                };                var callNow = immediate && !timeout;                clearTimeout( timeout );                timeout = setTimeout( later, wait );                if ( callNow ) func.apply( context, args );            };        }        const debouncedTriggerPostRender = debounce( function() {            triggerPostRender();        }, 200 );        if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) {            const observer = new MutationObserver( ( mutations ) => {                mutations.forEach( ( mutation ) => {                    if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) {                        debouncedTriggerPostRender();                        observer.disconnect();                    }                });            });            observer.observe( document.body, {                attributes: true,                childList: false,                subtree: true,                attributeFilter: [ 'style', 'class' ],            });        } else {            triggerPostRender();        }    } );} ); \n\/* ]]> *\/\n<\/script>\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t<\/section>\r\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":31,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-6971","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/yfc.ca\/highlands\/wp-json\/wp\/v2\/pages\/6971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yfc.ca\/highlands\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/yfc.ca\/highlands\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/yfc.ca\/highlands\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/yfc.ca\/highlands\/wp-json\/wp\/v2\/comments?post=6971"}],"version-history":[{"count":0,"href":"https:\/\/yfc.ca\/highlands\/wp-json\/wp\/v2\/pages\/6971\/revisions"}],"wp:attachment":[{"href":"https:\/\/yfc.ca\/highlands\/wp-json\/wp\/v2\/media?parent=6971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}