define(["ember"],function(a){a.Handlebars.helper("image",function(a){var b=[];a.hash.src?a.hash.thumbq&&(a.hash.src+="@%@w_%@h_%@q.jpg".fmt(a.hash.width,a.hash.height,a.hash.thumbq)):a.hash.src=a.hash["default"]?a.hash["default"]:"";for(var c in a.hash)"boundOptions"!==c&&"default"!==c&&b.push(c+'="'+a.hash[c]+'"');return new Handlebars.SafeString("<img "+b.join(" ")+"/>")}),a.Handlebars.helper("indexOf",function(a,b){return a&&b.hash.content&&b.hash.content.indexOf?b.hash.content.indexOf(a)+1:0})});