/*! DO NOT EDIT THIS FILE. This file is a auto generated on 2023-03-25 */
jQuery(document).ready(function(t){var c=!1;t(document).on("update_checkout",function(e,o){clearTimeout(c),c=setTimeout(function(){var e=t("#billing_country"),e=(e=t("#ship-to-different-address-checkbox").prop("checked")?t("#shipping_country"):e).val();data={action:"wcfmmp-remove-cart-vendor-product",custCountry:e,wcfm_ajax_nonce:wcfm_params.wcfm_ajax_nonce},t.post(woocommerce_params.ajax_url,data,function(e){e&&e.success&&e.data.items_removed&&(alert('Item(s) "'+e.data.removed_products+'" were removed from the cart as the vendors donot ship to the location selected.'),window.location.href=window.location.href)})},"20",o)})});