var ForminatorFront = {"ajaxUrl":"https://yesiskiyou.org/wp-admin/admin-ajax.php","cform":{"processing":"Submitting form, please wait","error":"An error occurred while processing the form. Please try again","upload_error":"An upload error occurred while processing the form. Please try again","pagination_prev":"Previous","pagination_next":"Next","pagination_go":"Submit","gateway":{"processing":"Processing payment, please wait","paid":"Success! Payment confirmed. Submitting form, please wait","error":"Error! Something went wrong when verifying the payment"},"captcha_error":"Invalid CAPTCHA","no_file_chosen":"No file chosen","intlTelInput_utils_script":"https://yesiskiyou.org/wp-content/plugins/forminator/assets/js/library/intlTelInputUtils.js","process_error":"Please try again","payment_failed":"Payment failed. Please try again.","payment_cancelled":"Payment was canceled","checkout_session_invalid":"Your payment session was updated. Please try again.","payment_session_refresh_failed":"We could not refresh your payment session. Please refresh the page and try again."},"poll":{"processing":"Submitting vote, please wait","error":"An error occurred saving the vote. Please try again"},"quiz":{"view_results":"View Results"},"select2":{"load_more":"Loading more results\u2026","no_result_found":"No results found","searching":"Searching\u2026","loaded_error":"The results could not be loaded."}};
//# sourceURL=forminator-front-scripts-js-extra
jQuery(function () {
window.Forminator_Cform_Paginations = window.Forminator_Cform_Paginations || [];
window.Forminator_Cform_Paginations[3204] =
{"has-pagination":false,"pagination-header-design":"show","pagination-header":"nav","last-steps":"Finish","last-previous":"Previous","pagination-labels":"default","has-paypal":false,"progress-bar-type":"progress","page-number-text":"Page %1$s of %2$s"};
(function () {
var selector = "#forminator-module-3204[data-forminator-render=\"0\"]",
options = {"form_type":"custom-form","inline_validation":true,"print_value":false,"rules":"\"phone-1\": {},\"email-1\": {\n\"email\": false,},\n","messages":"\"phone-1\": {\n\"phone\": \"Please enter a valid phone number.\",\n},\n\"email-1\": {\n},\n","conditions":{"fields":[],"relations":{"name-1":[],"phone-1":[],"checkbox-1":[],"email-1":[],"textarea-1":[],"hidden-1":[],"submit":[]}},"calendar":"{\"days\":[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],\"months\":[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]}","paypal_config":{"live_id":"","sandbox_id":"","redirect_url":"https:\/\/yesiskiyou.org\/events","form_id":3204},"forminator_fields":["address","calculation","captcha","consent","currency","custom","date","email","gdprcheckbox","group","hidden","html","checkbox","name","number","page-break","password","paypal","phone","postdata","radio","rating","section","select","slider","stripe-ocs","stripe","text","textarea","time","upload","url"],"general_messages":{"calculation_error":"Failed to calculate field.","payment_require_ssl_error":"SSL required to submit this form, please check your URL.","payment_require_amount_error":"PayPal amount must be greater than 0.","form_has_error":"Please correct the errors before submission."},"payment_require_ssl":false,"has_loader":true,"loader_label":"Submitting...","calcs_memoize_time":300,"is_reset_enabled":true,"has_stripe":false,"has_paypal":false,"submit_button_class":""};
var initForminatorModule = function ( isElementorCall ) {
var $module = jQuery( selector ).not( '.forminator-initialized' );
if ( ! isElementorCall ) {
// Copies inside a popup are initialized on popup show instead. Filtered per
// element since the selector can match a copy in the page and one in a popup.
$module = $module.filter( function () {
return ! jQuery( this ).closest( '[data-elementor-type="popup"]' ).length;
} );
}
if ( ! $module.length ) {
return;
}
$module.addClass( 'forminator-initialized' ).forminatorFront( options );
};
// Small delay to ensure the markup Elementor inserted is ready.
var initFromElementor = function () {
setTimeout( function () {
initForminatorModule( true );
}, 100 );
};
if ( window.elementorFrontend ) {
// Every opening builds a fresh copy that has to be initialized again.
jQuery( document ).on( 'elementor/popup/show', initFromElementor );
// `hooks` only exists once Elementor has run its own ready callback.
if ( typeof elementorFrontend.hooks !== 'undefined' ) {
elementorFrontend.hooks.addAction( 'frontend/element_ready/global', function ( $scope ) {
if ( $scope.find( selector ).length ) {
initFromElementor();
}
} );
}
}
initForminatorModule( false );
})();
if (typeof ForminatorValidationErrors !== 'undefined') {
var forminatorFrontSubmit = jQuery(ForminatorValidationErrors.selector).data('forminatorFrontSubmit');
if (typeof forminatorFrontSubmit !== 'undefined') {
forminatorFrontSubmit.show_messages(ForminatorValidationErrors.errors);
}
}
if (typeof ForminatorFormHider !== 'undefined') {
var forminatorFront = jQuery(ForminatorFormHider.selector).data('forminatorFront');
if (typeof forminatorFront !== 'undefined') {
jQuery(forminatorFront.forminator_selector).find('.forminator-row').hide();
jQuery(forminatorFront.forminator_selector).find('.forminator-pagination-steps').hide();
jQuery(forminatorFront.forminator_selector).find('.forminator-pagination-footer').hide();
}
}
});