function Controller(){function e(e){function i(e){l.is("news item",e),t.image.image=e.news.imageUrl.medium,t.headline.text=e.news.titleLong,t.author.text=e.news.author,t.date.text=a.unix(e.news.date).format("M MMM YYYY, HH:mm"),t.article.html=e.news.article}function n(){}var s=o.signUrl(Alloy.CFG.feedUrls.newsItem.replace("{{id}}",e));r.getData({getUrl:s},i,n)}require("alloy/controllers/BaseController").apply(this,Array.prototype.slice.call(arguments)),this.__controllerPath="matchDetailReport",arguments[0]?arguments[0].__parentSymbol:null,arguments[0]?arguments[0].$model:null,arguments[0]?arguments[0].__itemTemplate:null;var t=this,i={};t.__views.matchDetailReport=Ti.UI.createScrollView({layout:"vertical",backgroundColor:Alloy.CFG.colors.white,contentWidth:Ti.UI.FILL,width:Ti.UI.FILL,id:"matchDetailReport"}),t.__views.matchDetailReport&&t.addTopLevelView(t.__views.matchDetailReport),t.__views.image=Ti.UI.createImageView({width:Ti.UI.FILL,height:222,id:"image"}),t.__views.matchDetailReport.add(t.__views.image),t.__views.headline=Ti.UI.createLabel({font:{fontSize:24,fontFamily:Alloy.CFG.fonts.bold},height:Ti.UI.SIZE,left:12,right:12,top:20,bottom:6,id:"headline"}),t.__views.matchDetailReport.add(t.__views.headline),t.__views.labelWrapper=Ti.UI.createView({height:Ti.UI.SIZE,top:6,bottom:6,id:"labelWrapper"}),t.__views.matchDetailReport.add(t.__views.labelWrapper),t.__views.author=Ti.UI.createLabel({font:{fontSize:16,fontFamily:Alloy.CFG.fonts.default},left:16,width:140,color:Alloy.CFG.colors.medGrey,id:"author"}),t.__views.labelWrapper.add(t.__views.author),t.__views.date=Ti.UI.createLabel({font:{fontSize:16,fontFamily:Alloy.CFG.fonts.default},right:16,width:140,textAlign:"right",color:Alloy.CFG.colors.medGrey,id:"date"}),t.__views.labelWrapper.add(t.__views.date),t.__views.article=Ti.UI.createLabel({font:{fontSize:16,fontFamily:Alloy.CFG.fonts.default},height:Ti.UI.SIZE,left:12,right:12,top:8,bottom:20,id:"article"}),t.__views.matchDetailReport.add(t.__views.article),i.destroy=function(){},_.extend(t,t.__views);var l=require("helpers"),a=require("alloy/moment"),o=require("feedSigner"),r=require("netConnect"),n=arguments[0]||{};e(n.id),_.extend(t,i)}var Alloy=require("alloy"),Backbone=Alloy.Backbone,_=Alloy._;module.exports=Controller;