File: /home/mciraet/www/wp-content/plugins/polylang-wc/js/build/product.min.js
jQuery(function(t){t(document).ajaxSuccess(function(a,e,i){if("string"==typeof i.data){var o=wpAjax.unserialize(i.data);void 0!==o.action&&"post_lang_choice"===o.action&&void 0!==o.post_type&&"product"===o.post_type&&void 0!==o.lang&&void 0!==(o.post_id&&void 0!==o._pll_nonce)&&function(a,e,i){var o=new Array;if(t('input[name*="attribute_names"]').each(function(){var a=t(this).attr("name");n=a.substring(16,a.length-1),o[n]=t(this).val()}),o.length){var s={action:"product_lang_choice",lang:e,post_id:a,attributes:o,_pll_nonce:i};t.post(ajaxurl,s,function(n){var a=wpAjax.parseAjaxResponse(n,"pll-ajax-response");t.each(a.responses,function(){if("attributes"===this.what)t.each(this.supplemental,function(n,a){t('select[name="attribute_values['+n.substring(6)+'][]"]').html(a).trigger("change")})})})}}(o.post_id,o.lang,o._pll_nonce)}})});