!function(e){var r={};function a(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/",a(a.s=531)}({531:function(e,r,a){e.exports=a(532)},532:function(e,r){jQuery(document).ready((function(e){"use strict";e(".wpsr-reviews-wrapper").each((function(){var r=("."+e(this).attr("class")).match(/wpsr-reviews-(\d+)/),a=null;r&&(a=r[1]);var t=window.wpsr_ajax_params.upload_url,n={action:"wpsr_review_resize_images",id:a,platforms:document.querySelector(".wpsr-reviews-".concat(a)).getAttribute("data-platforms").split(","),nonce:window.wpsr_ajax_params&&window.wpsr_ajax_params.wpsr_nonce?window.wpsr_ajax_params.wpsr_nonce:""};e.ajax({url:window.wpsr_ajax_params.ajax_url,type:"post",data:n}).then(r=>{if(r){var a=r.match(/({[^{}]+})/g),n=JSON.parse(a);n.images_data&&jQuery(".wpsr-all-reviews").find(".wpsr-review-template").each((function(r){var a=e(this),i=a.attr("data-source_id"),o=a.attr("data-media_id"),s=a.attr("data-image_resize"),u=a.attr("data-review_platform");if(o){o=o.toString();var p=window.wpsr_ajax_params.image_settings.image_format;if(u&&i&&n.images_data.includes(o)){var c=t+"/"+u+"/"+i+"/"+o+"_"+s+"."+p;a.find(".wpsr-reviewer-avatar").attr("src",c),a.find(".wpsr-reviewer-image-url").removeClass("wpsr-reviewer-image-animation")}}}))}}).catch(e=>{console.error(e)}).always(()=>{})}))}))}});