| Server IP : 77.39.210.126 / Your IP : 216.73.216.203 Web Server : Apache System : Linux v00l0v-vmpcnews.sphostserver.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64 User : artecasarepresti ( 1022) PHP Version : 7.4.33 Disable Function : dl,passthru,proc_open,proc_close,proc_terminate,shell_exec,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/artecasarepresti/www/wp-content/themes/Avada/assets/min/js/general/ |
Upload File : |
function wrapGravitySelects(a){var b=".gform_wrapper select:not([multiple])";(void 0!==a?jQuery(a).find(b):jQuery(b)).filter(":visible").each(function(){var a=jQuery(this);setTimeout(function(){a.siblings(".chosen-container").length||a.parent(".gravity-select-parent").length||(a.wrap('<div class="gravity-select-parent"></div>'),jQuery('<div class="select-arrow"></div>').appendTo(a.parent(".gravity-select-parent"))),calcSelectArrowDimensions(),calcGravitySelectArrowPosition()},50)})}function calcGravitySelectArrowPosition(){jQuery(".gravity-select-parent").each(function(){var a=jQuery(this).children("select"),b=jQuery(this).children(".select-arrow");b.css("left",a.outerWidth()-2*parseFloat(a.css("border-right-width"))-b.width())})}function recursiveGFormSubmissionHandler(){jQuery(".gform_wrapper").find("form").attr("target")&&-1<jQuery(".gform_wrapper").find("form").attr("target").indexOf("gform_ajax_frame")&&jQuery(".gform_wrapper").find("form").submit(function(){setTimeout(function(){wrapGravitySelects(),calcSelectArrowDimensions(),calcGravitySelectArrowPosition(),recursiveGFormSubmissionHandler()},800)})}jQuery(document).bind("gform_post_conditional_logic",function(){var a=jQuery(".gform_wrapper select");jQuery(a).each(function(){jQuery(this).hasClass("chzn-done")&&jQuery(this).parent().hasClass("gravity-select-parent")&&(jQuery(this).parent().find(".select-arrow").remove(),jQuery(this).unwrap('<div class="gravity-select-parent"></div>'))})}),recursiveGFormSubmissionHandler(),jQuery(window).on("load",function(){jQuery(".gform_wrapper").each(function(){jQuery(this).removeClass("gf_browser_ie")}),wrapGravitySelects(),jQuery(window).on("fusion-resize-horizontal",function(){calcGravitySelectArrowPosition()}),"undefined"!=typeof gform&&gform&&gform.addAction("gform_post_conditional_logic_field_action",function(a,b,c,d,e){"show"!==b||e||setTimeout(function(){calcSelectArrowDimensions(),wrapGravitySelects()},50)})}),jQuery(window).on("fusion-dynamic-content-render",function(a,b){wrapGravitySelects(b)});