');t.alireviewOwlCarousel().trigger("add.owl.carousel",[i.parent().html()])})),t.alireviewOwlCarousel().trigger("refresh.owl.carousel"),$(".alr-rating").length>0&&($(".alr-rating").not(".done").rating(),$(".alr-rating").addClass("done")),$('input[name="summary-star"]').val(e.data.star),P(),l())}}),!1}}function d(e){$(".alireview-row").removeClass("over-text-done"),l()}setTimeout((function(){l()}),500)}function P(){var e=$(".ali_country_flag_shape").val();setTimeout((function(){$(".ali-flag-slc").not(".ali-flag-replaced").each((function(){var t=$(this).css("backgroundPositionY"),n=Number(t.replace(/[^0-9-]/g,""));$(this).addClass("ali-flag-replaced"),"rectangle"==e?$(this).css({"background-position-y":"".concat(n-6,"px")}):"round-corner"==e?$(this).css({"background-position-y":"".concat(n-6,"px"),"border-radius":"4px"}):$(this).css({"background-position-y":"".concat(n-4,"px")})}))}),300)}function W(){$(".arv-lozad").lazy({bind:"event",effect:"fadeIn",effectTime:200,threshold:0,afterLoad:function(e){"grid"===window.STYLE_LAYOUT_REVIEW&&q(),$(window).resize()}})}function H(){$("#shopify-ali-review").attr("shop-id");for(var e=document.cookie.split(";"),t={},n=0;n