text: !function(e){let t={postParameters:{userId:e(".user-photo").attr("data-user")},containerSelector:".user-photo",uploadAction:"users/upload-user-photo",deleteAction:"users/delete-user-photo",uploadButtonSelector:".btn.upload-photo",deleteButtonSelector:".btn.delete-photo",fileInputSelector:"input[name=photo]",uploadParamName:"photo",onAfterRefreshImage:function(t){void 0!==t.html&&"undefined"!=typeof changeSidebarPicture&&changeSidebarPicture&&e(".header-photo").find("> img").replaceWith(e("#current-photo").find("> img").clone())}};new Craft.ImageUpload(t);let o={allowSavingAsNew:!1,onSave:function(){location.reload()},allowDegreeFractions:Craft.isImagick};e("#main").on("click",".btn.edit-photo",(function(t){new Craft.AssetImageEditor(e(t.currentTarget).data("photoid"),o)}))}(jQuery);
  //# sourceMappingURL=profile.min.js.map
  