angular.module("widgetkit").controller("folderCtrl",["$scope",function(e){}]).run(["$rootScope","mediaInfo",function(e,t){e.$on("wk.preview.content",function(e,r){var o,n;"folder"!=r.type||!r.data.prepared||0<(o=JSON.parse(r.data.prepared)).length&&(n=o[0].media,e.preview=t(n).image)})}]);