define(["ember","moment"],function(a,b){a.Handlebars.helper("formatDate",function(a,c){var d=c.hash.pattern;d||(d="YYYY-MM-DD");var e=b(a);return e.isValid()?e.format(d):"-"});var c={fetched:"已下载",init:"下载中",error1:"数据错误"};a.Handlebars.helper("getFileStatus",function(a){return c[a]||""})});