function calcSelectArrowDimensions(e){var t=".avada-select-parent .select-arrow, .gravity-select-parent .select-arrow, .wpcf7-select-parent .select-arrow";(void 0!==e?jQuery(e).find(t):jQuery(t)).filter(":visible").each((function(){0<jQuery(this).prev().innerHeight()&&jQuery(this).css({height:jQuery(this).prev().innerHeight(),width:jQuery(this).prev().innerHeight(),"line-height":jQuery(this).prev().innerHeight()+"px"})}))}function adjustSelect2Dropdowns(){jQuery(document).on("focus",".select2.select2-container",(function(){const e=jQuery(this).closest("form"),t=jQuery(".select2-container--open:not(.select2)");void 0!==e.attr("style")&&t.length&&(t[0].style.cssText+=function(e){return e.replace(/(--awb-field[\w-]*)\s*:/g,(function(e,t){return t.replace(/-/g,"_").replace(/^__awb_field/,"--form")+":"}))}(e.attr("style").split(/;\s*/).filter(e=>e.trim().startsWith("--")).map(e=>e.trim()+";").join("\n")))}))}jQuery(window).on("load fusion-element-render-fusion_tb_woo_cart fusion-element-render-fusion_tb_woo_checkout_tabs fusion-element-render-fusion_tb_woo_checkout_billing fusion-element-render-fusion_tb_woo_checkout_shipping fusion-element-render-fusion_woo_cart_shipping",(function(){calcSelectArrowDimensions(),setTimeout((function(){calcSelectArrowDimensions()}),100),adjustSelect2Dropdowns()})),jQuery(window).on("fusion-dynamic-content-render",(function(e,t){calcSelectArrowDimensions(t)}));