window.abstractComponent=function(){var self=function(){self.queue.push({method:"run",context:this,args:arguments})};return self.run=self,self.queue=[],self.ready=function(){self.queue.push({method:"ready",context:this,args:arguments})},self.module=function(){self.queue.push({method:"module",context:this,args:arguments})},self.template=function(){self.queue.push({method:"template",context:this,args:arguments})},self.require=function(){var i,chain=[{method:"require",context:this,args:arguments}],methods="library,script,stylesheet,language,template,view,done,always,fail,progress".split(","),instance={};
for(i=0;i<methods.length;i++){var method=methods[i];instance[method]=function(method){return function(){return chain.push({method:method,context:this,args:arguments}),instance}}(method)}return self.queue.push(chain),instance},self};