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