(()=>{function n(n,e){var t=this;_.assign(t,{$onInit:function(){n.doesContainBinary(t.event)&&n.downloadAsDataUri(t.event).then(function(n){e.isImage(t.event.c8y_IsBinary)&&(t.dataUri=n)})}})}n.$inject=["eventsBinaryService","c8yBinary"],angular.module("c8y.eventsBinary").component("c8yEventBinaryPreview",{templateUrl:":::PLUGIN_PATH:::/components/eventBinaryPreview/eventBinaryPreview.html",bindings:{event:"<"},controller:n,controllerAs:"vm"})})();